SimpleAutoScrollController constructor
SimpleAutoScrollController({
- double initialScrollOffset = 0.0,
- bool keepScrollOffset = true,
- double? suggestedRowHeight,
- ViewportBoundaryGetter viewportBoundaryGetter = defaultViewportBoundaryGetter,
- required AxisValueGetter beginGetter,
- required AxisValueGetter endGetter,
- AutoScrollController? copyTagsFrom,
- String? debugLabel,
Implementation
SimpleAutoScrollController(
{double initialScrollOffset: 0.0,
bool keepScrollOffset: true,
this.suggestedRowHeight,
this.viewportBoundaryGetter: defaultViewportBoundaryGetter,
required this.beginGetter,
required this.endGetter,
AutoScrollController? copyTagsFrom,
String? debugLabel})
: super(
initialScrollOffset: initialScrollOffset,
keepScrollOffset: keepScrollOffset,
debugLabel: debugLabel) {
if (copyTagsFrom != null) tagMap.addAll(copyTagsFrom.tagMap);
}