buildScafoldForFloatingTabBar method

Scaffold buildScafoldForFloatingTabBar({
  1. required String platform,
})

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(),
  );
}