isMobile property

bool get isMobile

Implementation

bool get isMobile {
  if(kIsWeb){
    return false;
  }
  return Platform.isAndroid || Platform.isIOS;
}