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