const
Widget.customScrollView(- {Key? key,
- @Default(Axis.vertical) Axis scrollDirection,
- @Default(false) bool reverse,
- bool? primary,
- ScrollPhysics? physics,
- @Default(false) bool shrinkWrap,
- Key? center,
- @Default(0.0) double anchor,
- double? cacheExtent,
- @Default([]) List<Sliver> slivers,
- int? semanticChildCount,
- @Default(ScrollViewKeyboardDismissBehavior.manual) ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
- String? restorationId,
- @Default(Clip.hardEdge) Clip clipBehavior}
)
Implementation
const factory Widget.customScrollView({
Key? key,
@Default(Axis.vertical) Axis scrollDirection,
@Default(false) bool reverse,
bool? primary,
ScrollPhysics? physics,
@Default(false) bool shrinkWrap,
Key? center,
@Default(0.0) double anchor,
double? cacheExtent,
@Default([]) List<Sliver> slivers,
int? semanticChildCount,
@Default(ScrollViewKeyboardDismissBehavior.manual)
ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
String? restorationId,
@Default(Clip.hardEdge) Clip clipBehavior,
}) = CustomScrollView;