isIOS property
bool
get
isIOS
Returns whether the current platform is iOS
This is useful to check before calling iOS-specific methods, as this plugin only provides PDF viewing functionality on iOS.
Implementation
static bool get isIOS => Platform.isIOS;