FResizableControl.managedCascade constructor

const FResizableControl.managedCascade({
  1. FResizableController? controller,
  2. ValueChanged<List<FResizableRegionData>>? onResizeUpdate,
  3. ValueChanged<UnmodifiableListView<FResizableRegionData>>? onResizeEnd,
})

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;