@@ -9,6 +9,7 @@ import 'package:flutter_ui_nice/const/color_const.dart';
99import 'package:flutter_ui_nice/page/feed/feed_const.dart' ;
1010import 'package:flutter_ui_nice/page/feed/top_title.dart' ;
1111import 'package:flutter_ui_nice/util/SizeUtil.dart' ;
12+ import 'package:flutter_ui_nice/util/GradientUtil.dart' ;
1213
1314class FeedPageTwo extends StatefulWidget {
1415 @override
@@ -89,7 +90,8 @@ class _FeedState extends State<FeedPageTwo> {
8990 height: SizeUtil .getAxisY (110.0 ),
9091 width: SizeUtil .getAxisX (603.0 )),
9192 decoration: BoxDecoration (
92- color: RED , borderRadius: BorderRadius .circular (10.0 )),
93+ borderRadius: BorderRadius .circular (10.0 ),
94+ gradient: GradientUtil .red ()),
9395 child: Center (
9496 child: Row (
9597 mainAxisAlignment: MainAxisAlignment .spaceAround,
@@ -103,7 +105,7 @@ class _FeedState extends State<FeedPageTwo> {
103105 size: TEXT_SMALL_SIZE ,
104106 isBold: true ),
105107 ),
106- Container (
108+ Container (
107109 padding: EdgeInsets .all (10.0 ),
108110 width: 70.0 ,
109111 child: _textBack ("127 LIKES" ,
@@ -120,9 +122,8 @@ class _FeedState extends State<FeedPageTwo> {
120122 bottom: SizeUtil .getAxisY (70.0 ),
121123 right: SizeUtil .getAxisX (0.0 ),
122124 child: Image .asset (FeedImage .heart,
123- width: SizeUtil .getAxisY (CIRCLE_BUTTON_HEIGHT ),
124- height: SizeUtil .getAxisY (CIRCLE_BUTTON_HEIGHT ))
125- ),
125+ width: SizeUtil .getAxisY (CIRCLE_BUTTON_HEIGHT ),
126+ height: SizeUtil .getAxisY (CIRCLE_BUTTON_HEIGHT ))),
126127 ],
127128 ),
128129 ));
0 commit comments