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:

The maxHeight of the ResponsiveLayoutCell:

Implementers

Constructors

RowHeight({double? minHeight, double? maxHeight})
const
RowHeight.expanded({required double minHeight, double? maxHeight})
factory
RowHeight.highestCell({double? minHeight, double? maxHeight})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
maxHeight double?
final
minHeight double?
final
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