isTablet method
Implementation
Future<bool> isTablet() async {
if(kIsWeb) {return false;}
if(await isIpad()) {
return true;
} else {
if(Platform.isAndroid) {
final deviceInfo = await DeviceInfoPlugin().androidInfo;
if (deviceInfo.model.toLowerCase().contains("tablet")) {
return true;
}
}
}
return false;
}