Flutter – How to add top padding to a Stack Bottom Navigation Bar
class MainScreen extends StatelessWidget { MainScreen({super.key}); List<Widget> pageList = const [ HomePage(), FlightsPage(), DirectoryPage(), GuidePage() ]; @override Widget build(BuildContext context) { final controller = Get.put(TabIndexController()); return Obx(() => Scaffold( body: Stack( children: [ pageList[controller.tabIndex], Align( alignment: Alignment.bottomCenter, child: Theme( data:…