buildScafoldForFloatingTabBar method
Implementation
Scaffold buildScafoldForFloatingTabBar({required String platform}) {
return Scaffold(
appBar: widget.parentAppbar,
body: SafeArea(
child: Column(
children: [
Expanded(
child: PageView(
onPageChanged: (indx) => setState(() => _selectedIndex = indx),
controller: floatingTabBarPageViewController,
children: getTabScreenList(),
),
),
],
),
),
floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
floatingActionButton: floatingActionButtonBar(),
);
}