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
When creating a ScrollableGrid widget, not setting the 'children' parameter gives you the red error widget with the text NoSuchMethodError: The getter 'length' was called on null. Tried calling: length
Passing [] to this parameter gives you an error-free empty ScrollableGrid widget as expected.
Pretty minor but I'd expect either the children parameter to be required or to be assigned the empty list by default.
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
abarth commentedon Oct 30, 2016
Good point.
abarth commentedon Oct 30, 2016
Patch in #6592
pedrovhb commentedon Oct 30, 2016
Cool, that was quick.
abarth commentedon Oct 31, 2016
Patch hasn't landed yet. :)
Default child lists to empty lists (#6592)
abarth commentedon Oct 31, 2016
landed now. :)
github-actions commentedon Sep 5, 2021
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.