I have three Tabs that will receive a string from TabView (the widget that rules the Tabs).
My code looks like:
body: TabBarView(
children: [
FloatingActionButtonWidget(),
videosListForTab(), // <-- want to send string to
imagesListForTab(), // <-- want to send string to
Icon(Icons.label),
],
)
How can I pass the string to videosListForTab() and imagesListForTab()? The widgets are not in the same folder as the TabBarView widget.