TrackerScrollWidget constructor Null safety
- {Key? key,
- required ScrollView child,
- List<
String> initialInViewIds = const [], - double endNotificationOffset = 0.0,
- VoidCallback? onListEndReached,
- Duration throttleDuration = const Duration(milliseconds: 200),
- required IsInViewPortCondition isInViewPortCondition}
Implementation
TrackerScrollWidget({
Key? key,
required this.child,
this.initialInViewIds = const [],
this.endNotificationOffset = 0.0,
this.onListEndReached,
this.throttleDuration = const Duration(milliseconds: 200),
required this.isInViewPortCondition,
}) : assert(endNotificationOffset >= 0.0),
scrollDirection = child.scrollDirection,
super(key: key);