ToggleSheetHeightModel class sealed

Model used to calculate the fixed offset of the ToggleSheet

Use it then you need to your ToggleSheet be the fixed height.

Implementers

Constructors

ToggleSheetHeightModel.fixed(double height)
Defines ToggleSheet height as height in pixels.
factory
ToggleSheetHeightModel.fraction(double fraction)
Defines ToggleSheet height from fraction ratio of the viewport of the screen.
factory
ToggleSheetHeightModel.offset(double offset)
Defines ToggleSheet height from it's offset from the top of the screen.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getHeight(double availablePixels) double
Returns the offset height for the ToggleSheetController to define min height.
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