TargetPlatform enum Null safety
The platform that user interaction should adapt to target.
The defaultTargetPlatform getter returns the current platform.
Constructors
- TargetPlatform()
-
const
Values
- android → const TargetPlatform
-
Android: www.android.com/
TargetPlatform()
- fuchsia → const TargetPlatform
-
Fuchsia: fuchsia.dev/fuchsia-src/concepts
TargetPlatform()
- iOS → const TargetPlatform
-
iOS: www.apple.com/ios/
TargetPlatform()
- linux → const TargetPlatform
-
Linux: www.linux.org
TargetPlatform()
- macOS → const TargetPlatform
-
macOS: www.apple.com/macos
TargetPlatform()
- windows → const TargetPlatform
-
Windows: www.windows.com
TargetPlatform()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
TargetPlatform> -
A constant List of the values in this enum, in order of their declaration.
[android, fuchsia, iOS, linux, macOS, windows]