MultiSplitView constructor
const
MultiSplitView({
- Key? key,
- Axis axis = MultiSplitView.defaultAxis,
- MultiSplitViewController? controller,
- DividerBuilder? dividerBuilder,
- OnDividerDragEvent? onDividerDragStart,
- OnDividerDragEvent? onDividerDragUpdate,
- OnDividerDragEvent? onDividerDragEnd,
- DividerTapCallback? onDividerTap,
- DividerTapCallback? onDividerDoubleTap,
- bool resizable = true,
- bool antiAliasingWorkaround = false,
- bool pushDividers = false,
- List<
Area> ? initialAreas, - SizeOverflowPolicy sizeOverflowPolicy = SizeOverflowPolicy.shrinkLast,
- SizeUnderflowPolicy sizeUnderflowPolicy = SizeUnderflowPolicy.stretchLast,
- MinSizeRecoveryPolicy minSizeRecoveryPolicy = MinSizeRecoveryPolicy.firstToLast,
- Clip clipBehavior = Clip.hardEdge,
- double fallbackWidth = 500,
- double fallbackHeight = 500,
- 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);