ScaledTile.fit constructor

ScaledTile.fit(
  1. int crossAxisCellCount
)

Creates a ScaledTile with the given crossAxisCellCount that fit its main axis extent to its content.

This tile will have a fixed main axis extent.

Implementation

ScaledTile.fit(
  int crossAxisCellCount,
) : super.fit(crossAxisCellCount);