You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a ScrollBottomNavigationBar that scrolls up or down when it has a ScrollController attached to it. However as my valueListenable only listens to one scrollController, I cannot assign multiple ScrollControllers with the same valueListenable.
return Scaffold(
body: ValueListenableBuilder<int>(
valueListenable: controller.bottomNavigationBar.tabNotifier,
builder: (context, tabIndex, child) => ListView.builder(
controller: controller, //I cannot return the same controller here
itemBuilder: ...,
),
),
);
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Flutter - How to assign multiple ScrollControllers to Navigation Bar?
Flutter - How to assign multiple ScrollControllers to hide ScrollNavigationBar?
Nov 16, 2020
I have a ScrollBottomNavigationBar that scrolls up or down when it has a ScrollController attached to it. However as my valueListenable only listens to one scrollController, I cannot assign multiple ScrollControllers with the same valueListenable.
This is my ScrollBottomNavigationBar
This is my Page1() -
This is my Page2()-
The text was updated successfully, but these errors were encountered: