SliverGridRegularTileLayout constructor
Creates a layout that uses equally sized and spaced tiles.
All of the arguments must not be negative. The crossAxisCount
argument
must be greater than zero.
Implementation
const SliverGridRegularTileLayout({
required this.crossAxisCount,
required this.mainAxisStride,
required this.crossAxisStride,
required this.childMainAxisExtent,
required this.childCrossAxisExtent,
required this.reverseCrossAxis,
}) : assert(crossAxisCount > 0),
assert(mainAxisStride >= 0),
assert(crossAxisStride >= 0),
assert(childMainAxisExtent >= 0),
assert(childCrossAxisExtent >= 0);