getCrossAxisCount static method
Implementation
static int getCrossAxisCount({int? iphone, int? ipad , int? ipadLandscape ,})
{
switch (DeviceUtil.getDeviceType()) {
case Device.iphone:
return iphone ?? 1;
case Device.ipad:
return ipad ?? 2;
case Device.ipadLandscape:
return ipadLandscape ?? 3;
}
}