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.
Constructors
- SheetFit()
-
const
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
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