Describe the bug
When you use the primary flag, which should tell the GroupedListView to use the PrimaryScrollController, you get the following error:
This happens even when you don't specify your own ScrollController. I think this happens because on line 245 in your source code you assign _controller = widget.controller ?? ScrollController(); but instead of creating a new ScrollController, you would need to access the PrimaryScrollController.of(context)
Expected behavior
The GroupedListView should use the PrimaryScrollController when primary: true.
Describe the bug When you use the
primary
flag, which should tell theGroupedListView
to use thePrimaryScrollController
, you get the following error:This happens even when you don't specify your own ScrollController. I think this happens because on line 245 in your source code you assign
_controller = widget.controller ?? ScrollController();
but instead of creating a newScrollController
, you would need to access thePrimaryScrollController.of(context)
Expected behavior The
GroupedListView
should use thePrimaryScrollController
whenprimary: true
.Information: