-
Notifications
You must be signed in to change notification settings - Fork 36
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
YaruNavigationPage initialIndex is not forwarded to NavigationRail #456
Comments
nvm it works with |
Nice that it works finally :) |
the initialindex can be removed with the controller |
Just had a quick look, I think we miss to pass the Should be: _pageController = widget.controller ??
YaruPageController(
length: widget.length!,
initialIndex: widget.initialIndex!,
); |
it works if I do neithe ruse length nor initialIndex directly but only pass a controller which itself has length and initialindex |
Well, have these arguments is really simpler, because pass a controller mean you need to store and dispose it. |
I know we got the controller thing now. But even if this might be an artefact or not but the initialindex is always 0
CC @d-loose @Jupi007
I need this for https://github.com/ubuntu-flutter-community/software/pull/625
The text was updated successfully, but these errors were encountered: