@@ -73,25 +73,23 @@ class _FeedScreenState extends State<FeedScreen>
73
73
pinned: false ,
74
74
snap: true ,
75
75
floating: true ,
76
- title: Padding (
77
- padding: const EdgeInsets .all (8.0 ),
78
- child: DropdownMenu (
79
- inputDecorationTheme: InputDecorationTheme (
80
- isDense: true , border: OutlineInputBorder (borderRadius: BorderRadius .circular (12 ))),
81
- initialSelection: L10n .current.following,
82
- textStyle: Theme .of (context).appBarTheme.titleTextStyle,
83
- onSelected: (value) => setState (() {
84
- if (value == L10n .current.foryou) {
85
- _tab = 1 ;
86
- } else if (value == L10n .current.following) {
87
- _tab = 0 ;
88
- }
89
- _tabValue = value;
90
- }),
91
- dropdownMenuEntries: [
92
- DropdownMenuEntry (value: L10n .current.following, label: L10n .current.following),
93
- DropdownMenuEntry (value: L10n .current.foryou, label: L10n .current.foryou)
94
- ])),
76
+ title: DropdownMenu (
77
+ inputDecorationTheme: InputDecorationTheme (
78
+ isDense: true , border: OutlineInputBorder (borderRadius: BorderRadius .circular (12 ))),
79
+ initialSelection: L10n .current.following,
80
+ textStyle: Theme .of (context).appBarTheme.titleTextStyle,
81
+ onSelected: (value) => setState (() {
82
+ if (value == L10n .current.foryou) {
83
+ _tab = 1 ;
84
+ } else if (value == L10n .current.following) {
85
+ _tab = 0 ;
86
+ }
87
+ _tabValue = value;
88
+ }),
89
+ dropdownMenuEntries: [
90
+ DropdownMenuEntry (value: L10n .current.following, label: L10n .current.following),
91
+ DropdownMenuEntry (value: L10n .current.foryou, label: L10n .current.foryou)
92
+ ]),
95
93
actions: _tab == 1
96
94
? [
97
95
IconButton (
0 commit comments