isIOS property

bool get isIOS

Implementation

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