isMobileDevice static method
Implementation
static bool isMobileDevice() {
if (kIsWeb) {
return false;
}
if (Platform.isAndroid || Platform.isIOS) {
return true;
} else {
return false;
}
}
static bool isMobileDevice() {
if (kIsWeb) {
return false;
}
if (Platform.isAndroid || Platform.isIOS) {
return true;
} else {
return false;
}
}