CellData.count constructor
Creates a CellData with the given railCount and
mainAxisRelativeExtent
.
The main axis extent of this cell will be the length of
mainAxisRelativeExtent
cells (inner spacings included).
Implementation
const CellData.count(
this.railCount,
double mainAxisRelativeExtent, {
this.railLeadingOffset = 0,
}) : assert(railCount >= 0),
assert(mainAxisRelativeExtent >= 0),
this.mainAxisRelativeExtent = mainAxisRelativeExtent,
mainAxisExtent = null,
intrinsic = false,
breakLine = false;