I have a stateful widget with children as such
final _scrollController = TrackingScrollController();
PageView(
controller: _pageController,
children: <Widget>[
_ListView(controller: _scrollController),
_ListView(controller: _scrollController),
_ListView(controller: _scrollController),
],
)
This seems to match the pattern shown here https://docs.flutter.io/flutter/widgets/TrackingScrollController-class.html
However, when I scroll one list, the others are not synced, and I get this error for every frame
flutter: Another exception was thrown: ScrollController attached to multiple scroll views.
Any ideas as to what I'm doing wrong? Do I have unreasonable expectations of TrackingScrollController?