FResizableController.cascade constructor
FResizableController.cascade({
- void onResizeUpdate(
- List<
FResizableRegionData> resized
- List<
- void onResizeEnd()?,
Creates a FResizableController that cascades shrinking of a region below their minimum extents to its neighbours.
onResizeUpdate
is called while a resizable region and its neighbours are being resized. Most users should
prefer onResizeEnd
, which is called only after the regions have bee resized.
onResizeEnd
is called after a resizable region and its neighbours have been resized.
See https://forui.dev/docs/layout/resizable for a working example.
Implementation
factory FResizableController.cascade({
void Function(List<FResizableRegionData> resized)? onResizeUpdate,
void Function(UnmodifiableListView<FResizableRegionData> all)? onResizeEnd,
}) = _CascadeController;