TGridDelegate constructor
const
TGridDelegate({})
Creates a grid delegate.
Implementation
const TGridDelegate({
this.crossAxisCount,
this.maxCrossAxisExtent,
this.mainAxisSpacing = 8.0,
this.crossAxisSpacing = 8.0,
}) : assert(
(crossAxisCount != null) ^ (maxCrossAxisExtent != null),
'Either crossAxisCount OR maxCrossAxisExtent must be provided, but not both.',
);