SheetFit enum
How to size the content of a Sheet.
This enum is used with Sheet.fit to control how the BoxConstraints passed from the sheet to the sheet's child are adjusted.
See also:
- Sheet, the widget that uses this.
Values
- loose → const SheetFit
-
The constraints passed to the child from the sheet are loosened.
For example, if the sheet has expand constraints with 600 high, this would allow the child of the sheet to have any height from zero to maximum available.
- expand → const SheetFit
-
The constraints passed to the stack from its parent are tightened to the biggest size allowed.
For example, if the sheet has loose constraints with a height in the range 0 to 600, then the child of the sheet would all be sized as 600 high.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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