Skip to Content
Forui 0.12.0 is released 🎉

Resizable

A box which children can be resized along either the horizontal or vertical axis.

CLI

To generate and customize this style:

dart run forui style create resizable

Usage

FResizable(...)

FResizable( controller: FResizableController.cascade( onResizeUpdate: (regions) => print(regions), onResizeEnd: (regions) => print(regions), ), style: FResizableStyle(...), axis: Axis.vertical, divider: FResizableDivider.dividerWithThumb, crossAxisExtent: 400, onChange: (regions) => print('Regions changed: $regions'), children: [ FResizableRegion( initialExtent: 200, minExtent: 100, builder: (context, data, child) => child!, child: const Placeholder(), ), ], );

Examples

Without Cascading

Horizontal

Divider with No Thumb

Without Divider

Last updated on