PanelSetting constructor

const PanelSetting({
  1. double? minHeight,
  2. double? maxHeight,
  3. double snappingPoint = 0.4,
  4. Widget background = const ColoredBox(color: Colors.black),
})

Implementation

const PanelSetting({
  this.minHeight,
  this.maxHeight,
  this.snappingPoint = 0.4,
  this.background = const ColoredBox(color: Colors.black),
}) : assert(
        snappingPoint >= 0.0 && snappingPoint <= 1.0,
        '[snappingPoint] value must be between 1.0 and 0.0',
      );