RowHeight class abstract
The RowHeight is used as a parameter in CellPosition.nextRow. It defines the height the following row.
There are 2 types of row heights:
- highestCell: The row will get the height of the highest ResponsiveLayoutCell
- expanded: The row will get the remaining available height. If multiple rows are expanded, the available space is divided among them according to the minHeight, but also respecting maxHeight.
Both types can have a minHeight and a maxHeight
The minHeight of the ResponsiveLayoutCell:
- null= no minimum height (ResponsiveLayoutCell can shrink to zero)
- >0 = ResponsiveLayoutCell minimum size. Note that the RenderResponsiveLayout children now can take up more space than available. It is therefore recommended to wrap the RenderResponsiveLayout inside a SingleChildScrollView or other scroll view
The maxHeight of the ResponsiveLayoutCell:
- null= no maximum height (ResponsiveLayoutCell can shrink to zero)
- >0 = ResponsiveLayoutCell maximum size.
- Implementers
Constructors
- RowHeight({double? minHeight, double? maxHeight})
-
const
- RowHeight.expanded({required double minHeight, double? maxHeight})
-
factory
- RowHeight.highestCell({double? minHeight, double? maxHeight})
-
factory
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