PanelSetting constructor

const PanelSetting({
  1. double? topMargin,
  2. double headerMaxHeight = 75.0,
  3. double headerMinHeight = 25.0,
  4. double? minHeight,
  5. double? maxHeight,
  6. double snapingPoint = 0.4,
  7. Color headerBackground = Colors.black,
  8. Color foregroundColor = Colors.black,
  9. Color backgroundColor = Colors.black,
  10. SystemUiOverlayStyle overlayStyle = SystemUiOverlayStyle.light,
})

Implementation

const PanelSetting({
  this.topMargin,
  this.headerMaxHeight = 75.0,
  this.headerMinHeight = 25.0,
  this.minHeight,
  this.maxHeight,
  this.snapingPoint = 0.4,
  this.headerBackground = Colors.black,
  this.foregroundColor = Colors.black,
  this.backgroundColor = Colors.black,
  this.overlayStyle = SystemUiOverlayStyle.light,
}) : assert(
        snapingPoint >= 0.0 && snapingPoint <= 1.0,
        '[snapingPoint] value must be between 1.0 and 0.0',
      );