IPlatformInfo class abstract

Implementers

Constructors

IPlatformInfo({required PlatformMedia platformMedia, required PlatformHost platformHost})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isDebug bool
true when the app is running in debug mode, false for release
no setter
nativePlatform NativePlatform
Which native platform is running the app?
no setter
platformDesignSystem PlatformDesignSystem
Returns the most appropriate PlatformDesignSystem for the current host
no setter
platformHost PlatformHost
After considering platformMedia, which host is running the app?
final
platformMedia PlatformMedia
What kind of platform the app is running?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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