ResizablePane.flex constructor

const ResizablePane.flex({
  1. Key? key,
  2. double initialFlex = 1,
  3. double? minSize,
  4. double? maxSize,
  5. double? collapsedSize,
  6. required Widget child,
  7. ValueChanged<double>? onSizeChangeStart,
  8. ValueChanged<double>? onSizeChange,
  9. ValueChanged<double>? onSizeChangeEnd,
  10. ValueChanged<double>? onSizeChangeCancel,
  11. 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;