PanelSetting constructor
const
PanelSetting({
- double? maxHeight,
- double? minHeight,
- double headerHeight = kToolbarHeight,
- double thumbHandlerHeight = 25.0,
- double snapingPoint = 0.4,
- Color headerBackground = Colors.black,
- Color foregroundColor = Colors.black,
- Color backgroundColor = Colors.black,
- 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',
);