PlatformBase class abstract

Implementers

Constructors

PlatformBase()
Do not instantiate
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isAndroidNative bool
Platform.isAndroid
no setter
isAndroidWeb bool
BrowserDetector().platform.isAndroid
no setter
isFuschiaNative bool
Platform.isFuschia
no setter
isFuschiaWeb bool
Currently unsupported
no setter
isIOSNative bool
Platform.isIOS
no setter
isIOSWeb bool
BrowserDetector().platform.isIOS
no setter
isLinuxNative bool
Platform.isLinux
no setter
isLinuxWeb bool
BrowserDetector().platform.isLinux
no setter
isMacOSNative bool
Platform.isMacOS
no setter
isMacOSWeb bool
BrowserDetector().platform.isMacOS
no setter
isMobile bool
isWeb || isAndroidNative || isIOSNative
no setter
isWeb bool
kIsWeb
no setter
isWindowsNative bool
Platform.isWindows
no setter
isWindowsWeb bool
BrowserDetector().platform.isWindows
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isPhysicalDevice() Future<bool>
On Android: DeviceInfoPlugin().androidInfo.isPhysicalDevice
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