PanelSetting class
Settings for gallery panel
- Annotations
Constructors
- 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})
-
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 setteroverride
- headerBackground → Color
-
Background color for panel header,
Default: Colors.black
final
- headerHeight → double
-
Panel header height
final
- headerMaxHeight → double
-
Header max height
no setter
- maxHeight → double?
-
Margin for panel top. Which can be used to show status bar if you need
to show panel above scaffold.
Panel maximum height
final
- minHeight → double?
-
Panel minimum height
Default: 37% 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
to minHeight or maxHeight
Value must be between 0.0 - 1.0
Default: 0.4
final
- thumbHandlerHeight → double
-
Panel thumb handler height, which will be used to drag the panel
final
Methods
-
copyWith(
{double? maxHeight, double? minHeight, double? headerHeight, double? thumbHandlerHeight, double? snapingPoint, Color? headerBackground, Color? foregroundColor, Color? backgroundColor, SystemUiOverlayStyle? overlayStyle}) → 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override