PanelSetting class

Settings for gallery panel

Constructors

PanelSetting({double? topMargin, double headerMaxHeight = 75.0, double headerMinHeight = 25.0, double? minHeight, double? maxHeight, double snapingPoint = 0.4, Color headerBackground = Colors.black, Color foregroundColor = Colors.black, Color backgroundColor = Colors.black, SystemUiOverlayStyle overlayStyle = SystemUiOverlayStyle.light})
const

Properties

backgroundColor Color
If headerBackground is missing backgroundColor will be applied If foregroundColor is missing backgroundColor will be applied
final
foregroundColor Color
Background color for panel, Default: Colors.black
final
hashCode int
The hash code for this object.
no setterinherited
headerBackground Color
Background color for panel header, Default: Colors.black
final
headerMaxHeight double
Panel header maximum size
final
headerMinHeight double
Panel header minimum size,
final
maxHeight double?
Panel maximum height
final
minHeight double?
Panel minimum height Default: 35% of maxHeight
final
overlayStyle SystemUiOverlayStyle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapingPoint double
Point from where panel will start fling animation to snap it's height
final
topMargin double?
Margin for panel top. Which can be used to show status bar if you need to show panel above scaffold.
final

Methods

copyWith({double? topMargin, double? headerMaxHeight, double? headerMinHeight, double? minHeight, double? maxHeight, double? snapingPoint, Color? headerBackground, Color? foregroundColor, Color? backgroundColor}) PanelSetting
Helper function
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited