ResizablePane.flex constructor
const
ResizablePane.flex({
- Key? key,
- double initialFlex = 1,
- double? minSize,
- double? maxSize,
- double? collapsedSize,
- required Widget child,
- ValueChanged<
double> ? onSizeChangeStart, - ValueChanged<
double> ? onSizeChange, - ValueChanged<
double> ? onSizeChangeEnd, - ValueChanged<
double> ? onSizeChangeCancel, - bool initialCollapsed = false,
Implementation
const ResizablePane.flex({
super.key,
double this.initialFlex = 1,
this.minSize,
this.maxSize,
this.collapsedSize,
required this.child,
this.onSizeChangeStart,
this.onSizeChange,
this.onSizeChangeEnd,
this.onSizeChangeCancel,
bool this.initialCollapsed = false,
}) : controller = null,
initialSize = null;