isIOS property

bool get isIOS

Implementation

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