FResizableControl.managedCascade constructor
const
FResizableControl.managedCascade({
- FResizableController? controller,
- ValueChanged<
List< ? onResizeUpdate,FResizableRegionData> > - ValueChanged<
UnmodifiableListView< ? onResizeEnd,FResizableRegionData> >
Creates a FResizableControl with a cascading controller.
Cascading allows shrinking a region below its minimum extent to propagate to its neighbors.
The controller is the controller. If not provided, an internal controller is created.
The onResizeUpdate is called while resizing.
The onResizeEnd is called after resizing completes with all regions.
Contract
Throws AssertionError if controller and onResizeUpdate/onResizeEnd are both provided.
Implementation
const factory FResizableControl.managedCascade({
FResizableController? controller,
ValueChanged<List<FResizableRegionData>>? onResizeUpdate,
ValueChanged<UnmodifiableListView<FResizableRegionData>>? onResizeEnd,
}) = _ManagedCascade;