Platform class
- Inheritance
-
- Object
- PlatformBase
- Platform
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAndroidNative → bool
-
Platform.isAndroid
no setteroverride
- isAndroidWeb → bool
-
BrowserDetector().platform.isAndroid
no setteroverride
- isFuschiaNative → bool
-
Platform.isFuschia
no setteroverride
- isFuschiaWeb → bool
-
Currently unsupported
no setteroverride
- isIOSNative → bool
-
Platform.isIOS
no setteroverride
- isIOSWeb → bool
-
BrowserDetector().platform.isIOS
no setteroverride
- isLinuxNative → bool
-
Platform.isLinux
no setteroverride
- isLinuxWeb → bool
-
BrowserDetector().platform.isLinux
no setteroverride
- isMacOSNative → bool
-
Platform.isMacOS
no setteroverride
- isMacOSWeb → bool
-
BrowserDetector().platform.isMacOS
no setteroverride
- isMobile → bool
-
isWeb || isAndroidNative || isIOSNative
no setterinherited
- isWeb → bool
-
kIsWeb
no setterinherited
- isWindowsNative → bool
-
Platform.isWindows
no setteroverride
- isWindowsWeb → bool
-
BrowserDetector().platform.isWindows
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isPhysicalDevice(
) → Future< bool> -
On Android: DeviceInfoPlugin().androidInfo.isPhysicalDevice
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- platform → Platform
-
final