MultiSplitView constructor

const MultiSplitView({
  1. Key? key,
  2. Axis axis = MultiSplitView.defaultAxis,
  3. MultiSplitViewController? controller,
  4. DividerBuilder? dividerBuilder,
  5. OnDividerDragEvent? onDividerDragStart,
  6. OnDividerDragEvent? onDividerDragUpdate,
  7. OnDividerDragEvent? onDividerDragEnd,
  8. DividerTapCallback? onDividerTap,
  9. DividerTapCallback? onDividerDoubleTap,
  10. bool resizable = true,
  11. bool antiAliasingWorkaround = false,
  12. bool pushDividers = false,
  13. List<Area>? initialAreas,
  14. SizeOverflowPolicy sizeOverflowPolicy = SizeOverflowPolicy.shrinkLast,
  15. SizeUnderflowPolicy sizeUnderflowPolicy = SizeUnderflowPolicy.stretchLast,
  16. MinSizeRecoveryPolicy minSizeRecoveryPolicy = MinSizeRecoveryPolicy.firstToLast,
  17. Clip clipBehavior = Clip.hardEdge,
  18. double fallbackWidth = 500,
  19. double fallbackHeight = 500,
  20. AreaWidgetBuilder? builder,
})

Creates an MultiSplitView.

The default value for axis argument is Axis.horizontal. The children argument is required.

Implementation

const MultiSplitView(
    {Key? key,
    this.axis = MultiSplitView.defaultAxis,
    this.controller,
    this.dividerBuilder,
    this.onDividerDragStart,
    this.onDividerDragUpdate,
    this.onDividerDragEnd,
    this.onDividerTap,
    this.onDividerDoubleTap,
    this.resizable = true,
    this.antiAliasingWorkaround = false,
    this.pushDividers = false,
    this.initialAreas,
    this.sizeOverflowPolicy = SizeOverflowPolicy.shrinkLast,
    this.sizeUnderflowPolicy = SizeUnderflowPolicy.stretchLast,
    this.minSizeRecoveryPolicy = MinSizeRecoveryPolicy.firstToLast,
    this.clipBehavior = Clip.hardEdge,
    this.fallbackWidth = 500,
    this.fallbackHeight = 500,
    this.builder})
    : super(key: key);