PanelSetting constructor

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

Implementation

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