JkAppBarSingleChildScrollView constructor
const
JkAppBarSingleChildScrollView({
- Key? key,
- bool keepAlive = true,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- EdgeInsetsGeometry? padding,
- bool? primary,
- ScrollPhysics? physics,
- ScrollController? controller,
- required Widget child,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- Clip clipBehavior = Clip.hardEdge,
- String? restorationId,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
Implementation
const JkAppBarSingleChildScrollView({
super.key,
this.keepAlive = true,
this.scrollDirection = Axis.vertical,
this.reverse = false,
this.padding,
this.primary,
this.physics,
this.controller,
required this.child,
this.dragStartBehavior = DragStartBehavior.start,
this.clipBehavior = Clip.hardEdge,
this.restorationId,
this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
}) : assert(
!(controller != null && (primary ?? false)),
'Primary ScrollViews obtain their ScrollController via inheritance '
'from a PrimaryScrollController widget. You cannot both set primary to '
'true and pass an explicit controller.',
);