PanelSetting class
Settings for gallery panel
Constructors
- PanelSetting({double? minHeight, double? maxHeight, double snapingPoint = 0.4, Widget background = const ColoredBox(color: Colors.black)})
-
const
Properties
- background → Widget
-
Background widget for panel,
Default:
Sizebox()
final - hashCode → int
-
The hash code for this object.
no setterinherited
- maxHeight → double?
-
Panel maximum height
final
- minHeight → double?
-
Panel minimum height
Default: 37% of maxHeight
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
Methods
-
copyWith(
{double? minHeight, double? maxHeight, double? snapingPoint, Widget? background}) → 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