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
{{ message }}
Repository navigation
[adaptive_scaffold] asserts that navigation rail items cannot be less than two items #110902
The layout procedure responsible for the left navigation bar should resemble the Drawer APIs. If we set the number of NavigationDestinations on AdaptiveScaffold to some arbitrary number, we must have some comprehensive reason for why we do not allow an empty sidebar or one element in the sidebar.
Give a better error message whenever the rules of the NavigationDestination items are less than the number required.
Steps to Reproduce
Code sample
Clone flutter/packages into the folder of your choice (at the time of writing, AdaptiveScaffold has not been released.
changed the title [-]`AdaptiveScaffold` asserts that navigation rail items cannot be less than two[/-][+]`AdaptiveScaffold` asserts that navigation rail items cannot be less than two items[/+]on Sep 7, 2022
changed the title [-]`AdaptiveScaffold` asserts that navigation rail items cannot be less than two items[/-][+][adaptive_scaffold] asserts that navigation rail items cannot be less than two items[/+]on Sep 14, 2022
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
[-]`AdaptiveScaffold` asserts that navigation rail items cannot be less than two[/-][+]`AdaptiveScaffold` asserts that navigation rail items cannot be less than two items[/+][-]`AdaptiveScaffold` asserts that navigation rail items cannot be less than two items[/-][+][adaptive_scaffold] asserts that navigation rail items cannot be less than two items[/+]flutter-triage-bot commentedon Jul 10, 2023
This issue is missing a priority label. Please set a priority label when adding the
triaged-ecosystemlabel.[adaptive_scaffold] : 🐛 : #110902 : Assertion added when try with les…
aliasgar4558 commentedon Mar 21, 2024
Added assertion, we can mark this issue as Closed.
7cc7e31 [adaptive_scaffold] : 🐛 : flutter#110902 : Assertion added wh…
7cc7e31 [adaptive_scaffold] : 🐛 : flutter#110902 : Assertion added wh…
Roll Packages from b7fbe68 to 611aea1 (4 revisions) (#145615)
aliasgar4558 commentedon May 10, 2024
@a-wallen - Can you please mark this bug as closed?
github-actions commentedon May 27, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.