PanelSize class

Provide different height of the panel in percentage of screen's height according to panel's current state. None of these should be null.

Make sure : closedHeight < collapsedHeight < expandedHeight.

Give values between 0.0 and 1.0, considered as percentage.

Constructors

PanelSize({double closedHeight = 0.25, double collapsedHeight = 0.40, double expandedHeight = 0.85})
const

Properties

closedHeight double
Initial height of the panel in percentage of screen. Panel is shown upto this when closed.
final
collapsedHeight double
Height of the panel in percentage of screen when panel is collapsed.
final
expandedHeight double
Maximum height of the panel in percentage of screen. Panel is shown upto this when expanded.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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