Widget.singleChildScrollView constructor Null safety
- {Key? key,
- @Default(Axis.vertical) Axis scrollDirection,
- @Default(false) bool reverse,
- EdgeInsets? padding,
- bool? primary,
- ScrollPhysics? physics,
- Widget? child,
- @Default(Clip.hardEdge) Clip clipBehavior,
- String? restorationId,
- @Default(ScrollViewKeyboardDismissBehavior.manual) ScrollViewKeyboardDismissBehavior keyboardDismissBehavior}
Implementation
const factory Widget.singleChildScrollView({
Key? key,
@Default(Axis.vertical) Axis scrollDirection,
@Default(false) bool reverse,
EdgeInsets? padding,
bool? primary,
ScrollPhysics? physics,
Widget? child,
@Default(Clip.hardEdge) Clip clipBehavior,
String? restorationId,
@Default(ScrollViewKeyboardDismissBehavior.manual)
ScrollViewKeyboardDismissBehavior keyboardDismissBehavior,
}) = SingleChildScrollView;