getCrossAxisCount method
Returns the number of children than can be layout in the cross axis.
Implementation
@override
int getCrossAxisCount(
SliverConstraints constraints,
double crossAxisSpacing,
) {
return crossAxisCount;
}
Returns the number of children than can be layout in the cross axis.
@override
int getCrossAxisCount(
SliverConstraints constraints,
double crossAxisSpacing,
) {
return crossAxisCount;
}