targetCellSize method
Creates a style targeting a specific cell size for mosaic layouts.
Overrides the width calculator to fit tiles of the given cellSize, ensuring uniform sizing across devices. Integrates with Carpet for aspect-preserving arrangements.
Implementation
CarpetStyle targetCellSize(int cellSize) => copyWith(
carpetWidthCalc: _targetSizeCarpetWidthCalculator(cellSize),
);