PanelSetting constructor

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

Implementation

const PanelSetting({
  this.maxHeight,
  this.minHeight,
  this.headerHeight = kToolbarHeight,
  this.thumbHandlerHeight = 25.0,
  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',
      );