SyncScrollController constructor
SyncScrollController({
- double initialScrollOffset = 0.0,
- bool keepScrollOffset = true,
- String? debugLabel,
- SyncControllerMixin? parent,
Creates a scroll controller that continually updates its
initialScrollOffset
to match the last scroll notification it received.
Implementation
SyncScrollController({
double initialScrollOffset = 0.0,
bool keepScrollOffset = true,
String? debugLabel,
this.parent,
}) : super(
initialScrollOffset: initialScrollOffset,
keepScrollOffset: keepScrollOffset,
debugLabel: debugLabel,
);