@@ -20,14 +20,23 @@ class PopularPage extends GetView<PopularController> {
2020 scrolledUnderElevation: 0 ,
2121 leading: showAction ? const MenuButton () : null ,
2222 actions: showAction ? [CommonAppBarActions ()] : null ,
23- title: TabBar (
24- controller: controller.tabController,
25- isScrollable: true ,
26- tabAlignment: TabAlignment .center,
27- labelStyle: const TextStyle (fontSize: 18 , fontWeight: FontWeight .w600),
28- labelPadding: const EdgeInsets .symmetric (horizontal: 12 ),
29- indicatorSize: TabBarIndicatorSize .label,
30- tabs: Sites ().availableSites ().map ((e) => Tab (text: e.name)).toList (),
23+ flexibleSpace: SafeArea (
24+ child: Align (
25+ alignment: Alignment .topCenter,
26+ child: Container (
27+ height: kToolbarHeight,
28+ alignment: Alignment .center,
29+ child: TabBar (
30+ controller: controller.tabController,
31+ isScrollable: true ,
32+ tabAlignment: TabAlignment .center,
33+ labelStyle: const TextStyle (fontSize: 18 , fontWeight: FontWeight .w600),
34+ labelPadding: const EdgeInsets .symmetric (horizontal: 12 ),
35+ indicatorSize: TabBarIndicatorSize .label,
36+ tabs: Sites ().availableSites ().map ((e) => Tab (text: e.name)).toList (),
37+ ),
38+ ),
39+ ),
3140 ),
3241 ),
3342 body: TabBarView (
0 commit comments