CellData.extent constructor
Creates a CellData with the given railCount and
mainAxisExtent
.
This cell will have a fixed main axis extent.
Implementation
const CellData.extent(
this.railCount,
double mainAxisExtent, {
this.railLeadingOffset = 0,
}) : assert(railCount >= 0),
assert(mainAxisExtent >= 0),
this.mainAxisExtent = mainAxisExtent,
mainAxisRelativeExtent = null,
intrinsic = false,
breakLine = false;