NapaBoxScrollView constructor
NapaBoxScrollView({
- NapaChildMode childMode = NapaChildMode.noChildren,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- bool? primary,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- EdgeInsetsGeometry? padding,
- double? cacheExtent,
- int? semanticChildCount,
- DragStartBehavior dragStartBehavior = .start,
- ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
- Clip clipBehavior = .hardEdge,
- HitTestBehavior hitTestBehavior = .opaque,
Implementation
NapaBoxScrollView({
super.childMode,
super.scrollDirection,
super.reverse,
super.primary,
super.physics,
super.shrinkWrap,
this.padding,
super.cacheExtent,
super.semanticChildCount,
super.dragStartBehavior,
super.keyboardDismissBehavior,
super.clipBehavior,
super.hitTestBehavior
}) {
properties.addAll([
InspectableProperty<EdgeInsetsGeometry>(
name: 'padding',
nullable: true,
getValue: (obj) => padding,
setValue: (obj, value, customData) => padding = value,
),
]);
}