isIOS property
bool
get
isIOS
Implementation
static bool get isIOS {
final platform = _navigator.platform;
if (platform == null) return false;
// maxTouchPoints is needed to separate iPad iOS13 vs new MacOS
return (RegExp(r'/iPad|iPhone|iPod/').hasMatch(platform)) ||
(platform == 'MacIntel' && _navigator.maxTouchPoints! > 1);
}