File tree 1 file changed +9
-2
lines changed 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,13 @@ import 'package:flutter_ui_nice/const/color_const.dart';
9
9
import 'package:flutter_ui_nice/util/SizeUtil.dart' ;
10
10
11
11
class TopTitleBar extends StatelessWidget {
12
+ TopTitleBar (
13
+ {this .leftImage = FeedImage .more_circle,
14
+ this .rightImage = FeedImage .search_circle});
15
+
16
+ final String leftImage;
17
+ final String rightImage;
18
+
12
19
@override
13
20
Widget build (BuildContext context) {
14
21
return Container (
@@ -40,10 +47,10 @@ class TopTitleBar extends StatelessWidget {
40
47
child: Row (
41
48
mainAxisAlignment: MainAxisAlignment .spaceBetween,
42
49
children: < Widget > [
43
- Image .asset (FeedImage .more_circle ,
50
+ Image .asset (leftImage ,
44
51
width: SizeUtil .getAxisY (CIRCLE_BUTTON_HEIGHT ),
45
52
height: SizeUtil .getAxisY (CIRCLE_BUTTON_HEIGHT )),
46
- Image .asset (FeedImage .search_circle ,
53
+ Image .asset (rightImage ,
47
54
width: SizeUtil .getAxisY (CIRCLE_BUTTON_HEIGHT ),
48
55
height: SizeUtil .getAxisY (CIRCLE_BUTTON_HEIGHT ))
49
56
]),
You can’t perform that action at this time.
0 commit comments