CellData class
Holds the dimensions of a Cell.
A CellData always overlaps an exact number of cells in the cross axis of a LayoutGrid. The main axis extent can either be a number of pixels or a number of cells to overlap.
Constructors
- CellData.breakLine()
-
Creates a CellData with the given railCount that
fit its main axis extent to its content.
const
- CellData.count(int railCount, double mainAxisRelativeExtent, {int railLeadingOffset = 0})
-
Creates a CellData with the given railCount and
mainAxisRelativeExtent
.const - CellData.extent(int railCount, double mainAxisExtent, {int railLeadingOffset = 0})
-
Creates a CellData with the given railCount and
mainAxisExtent
.const - CellData.fit(int railCount, {bool intrinsic = false, int railLeadingOffset = 0})
-
Creates a CellData with the given railCount that
fit its main axis extent to its content.
const
Properties
- breakLine → bool
-
final
- fitContent → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- intrinsic → bool
-
final
- mainAxisExtent → double?
-
The number of pixels occupied in the main axis.
final
- mainAxisRelativeExtent → num?
-
The number of cells occupied in the main axis.
final
- railCount → int
-
The number of cells occupied in the cross axis.
final
- railLeadingOffset → int
-
The number of rails between the first available position and the cell.
final
- railStride → int
-
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