NapaBoxScrollView constructor

NapaBoxScrollView({
  1. NapaChildMode childMode = NapaChildMode.noChildren,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. bool? primary,
  5. ScrollPhysics? physics,
  6. bool shrinkWrap = false,
  7. EdgeInsetsGeometry? padding,
  8. double? cacheExtent,
  9. int? semanticChildCount,
  10. DragStartBehavior dragStartBehavior = .start,
  11. ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
  12. Clip clipBehavior = .hardEdge,
  13. 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,
    ),
  ]);
}