-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement useTabControllerList for List<TabController> #406
Comments
That would be too specific. I don't think this is a good fit for the core package. In any cases, chances are you want to use |
We need to control each tab from parent, so we need to create tabcontroller at outside. Another solution, is it possiable provide hook for List ? |
I think my question should be how to handle indefinite number of TickerProvider in Hook. In useSingleTickerProvider, it say
How it work in indefinite case ? |
SingleTickerProviders cannot be passed to different objects. |
The problem is I don't know how many useSingleTickerProvider I need when coding. Is that mean I cannot use hookWidget at this case ? |
I have no plan for adding a useTabControllerList, so closing. |
I have a requirement. There are an indefinite number of Tabs on my UI, so I need to have an indefinite number of TabControllers. How do I implement in HookWidget ?
It seem bad idea that add useTabController in a for loop.
I try to use useRef and handle TabController myself, but it cannot set vsync in hookwidget.
is there any good idea ?
The text was updated successfully, but these errors were encountered: