|
@@ -116,8 +116,19 @@ class NewsfeedDetailPage extends HookConsumerWidget {
|
|
|
children: [
|
|
|
Container(
|
|
|
margin: const EdgeInsets.only(left: 15, right: 15,top: 14,bottom: 14),
|
|
|
- color: Colors.white,
|
|
|
padding: const EdgeInsets.only(left: 15, right: 15,top: 17,bottom: 17),
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ color: context.appColors.textWhite,
|
|
|
+ borderRadius: BorderRadius.circular(10),
|
|
|
+ boxShadow: [
|
|
|
+ BoxShadow(
|
|
|
+ color: ColorUtils.string2Color("#E4E7EB").withOpacity(0.5),
|
|
|
+ spreadRadius: 0,
|
|
|
+ blurRadius: 4,
|
|
|
+ offset: const Offset(0, 4), // changes position of shadow
|
|
|
+ ),
|
|
|
+ ]
|
|
|
+ ),
|
|
|
child: Column(
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
@@ -178,9 +189,20 @@ class NewsfeedDetailPage extends HookConsumerWidget {
|
|
|
Widget _buildCommentListCard(BuildContext context, WidgetRef ref){
|
|
|
final vm = ref.read(newsfeedDetailVmProvider.notifier);
|
|
|
return Container(
|
|
|
- color: Colors.white,
|
|
|
margin: const EdgeInsets.only(left: 15, right: 15,top: 18,bottom: 18),
|
|
|
padding: const EdgeInsets.only(bottom: 30),
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ color: context.appColors.textWhite,
|
|
|
+ borderRadius: BorderRadius.circular(10),
|
|
|
+ boxShadow: [
|
|
|
+ BoxShadow(
|
|
|
+ color: ColorUtils.string2Color("#E4E7EB").withOpacity(0.5),
|
|
|
+ spreadRadius: 0,
|
|
|
+ blurRadius: 4,
|
|
|
+ offset: const Offset(0, 4), // changes position of shadow
|
|
|
+ ),
|
|
|
+ ]
|
|
|
+ ),
|
|
|
child: Column(
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|