ScrollViewCustom constructor
ScrollViewCustom({
- required ScrollViewProperties properties,
- Key? key,
- ScrollPhysics? physics,
- ScrollBehavior? scrollBehavior,
- bool shrinkWrap = false,
- Key? center,
- double anchor = 0.0,
- double? cacheExtent,
- int? semanticChildCount,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- String? restorationId,
- Clip clipBehavior = Clip.hardEdge,
Implementation
ScrollViewCustom({
required ScrollViewProperties properties,
Key? key,
ScrollPhysics? physics,
ScrollBehavior? scrollBehavior,
bool shrinkWrap = false,
Key? center,
double anchor = 0.0,
double? cacheExtent,
int? semanticChildCount,
DragStartBehavior dragStartBehavior = DragStartBehavior.start,
ScrollViewKeyboardDismissBehavior keyboardDismissBehavior =
ScrollViewKeyboardDismissBehavior.manual,
String? restorationId,
Clip clipBehavior = Clip.hardEdge,
}) : scrollStateKey = properties.scrollStateKey,
super(
key: key,
primary: properties.primary,
anchor: anchor,
cacheExtent: cacheExtent,
center: center,
clipBehavior: clipBehavior,
controller: properties.scrollController,
dragStartBehavior: dragStartBehavior,
keyboardDismissBehavior: keyboardDismissBehavior,
physics: physics,
restorationId: restorationId,
reverse: properties.reverse,
scrollBehavior: scrollBehavior,
scrollDirection: properties.scrollDirection,
semanticChildCount: semanticChildCount,
shrinkWrap: shrinkWrap);