getResponsiveGridCount static method
Implementation
static int getResponsiveGridCount(BuildContext context) {
if (isMobile(context)) {
return 1;
} else if (isTablet(context)) {
return 2;
} else {
return 3;
}
}
static int getResponsiveGridCount(BuildContext context) {
if (isMobile(context)) {
return 1;
} else if (isTablet(context)) {
return 2;
} else {
return 3;
}
}