FPlatformVariant extension type
Represents a platform.
Platform variants are tier 0, the lowest tier. Interaction and semantic variants take precedence during resolution.
Constructors
- FPlatformVariant(FVariant _)
-
const
Properties
- desktop → bool
-
Whether the current platform is a primarily keyboard/mouse-based platform.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- touch → bool
-
Whether the current platform is a primarily touch-based platform.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
satisfiedBy(
Set< FVariant> variants) → bool -
Returns true if all variants in this constraint are present in
variants.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- android → const FPlatformVariant
- The Android platform variant.
- fuchsia → const FPlatformVariant
- The Fuchsia platform variant.
- iOS → const FPlatformVariant
- The iOS platform variant.
- linux → const FPlatformVariant
- The Linux platform variant.
- macOS → const FPlatformVariant
- The macOS platform variant.
- web → const FPlatformVariant
- The web platform variant.
- windows → const FPlatformVariant
- The Windows platform variant.