ScaledTile.count constructor

ScaledTile.count(
  1. int crossAxisCellCount,
  2. num mainAxisCellCount
)

Creates a ScaledTile with the given crossAxisCellCount and mainAxisCellCount.

The main axis extent of this tile will be the length of mainAxisCellCount cells (inner spacings included).

Implementation

ScaledTile.count(
  int crossAxisCellCount,
  num mainAxisCellCount,
) : super.count(crossAxisCellCount, mainAxisCellCount.toDouble());