I am just playing around with Flutter and I have run into a bit of an issue -> here is my repo: https://github.com/LuckyRon88/FlutterWebCV
I am using https://pub.dev/packages/motion_tab_bar/example to create a bottom Navigation bar as a Children of a stack. I will use this Bottom Navigation bar on multiple pages to change a widget on the screen so I refactored my code to have a BottomNavigation.dart.
I am using provider as my State management solution.
This is the TabBar https://github.com/LuckyRon88/FlutterWebCV/blob/master/lib/Components/TestTab.dart
which I want to use on https://github.com/LuckyRon88/FlutterWebCV/blob/master/lib/Screens/Education.dart but I need to be able to access the eduTabController (from TestTab.dart) from Education.dart to change some info on this very same page.
I already have a provider model https://github.com/LuckyRon88/FlutterWebCV/blob/master/lib/ProviderPack/PageController.dart but I am unsure how to give Provider the control of my eduTabController since I cannot initialise it anywhere but on the TestTab.dart itself.