-
Notifications
You must be signed in to change notification settings - Fork 0
SystemInfo
Dan M edited this page Mar 31, 2022
·
2 revisions
The SystemInfo class provides easy access to the device's Platform and whether or not the app is in debug mode.
Represents each of the possible platforms the app may be running on:
| Value | Represents | Equal To |
|---|---|---|
android |
The app is running on an android device | dart.io.Platform.isAndroid == true |
ios |
The app is running on an iOS device | dart.io.Platform.isIOS == true |
web |
The app is running on a website | dart.io.Platform.isWeb == true |
windows |
The app is running on windows | dart.io.Platform.isWindows == true |
macOs |
The app is running on macOS | dart.io.Platform.isMacOs == true |
fuchisa |
The app is running Fuchisa | dart.io.Platform.isFuchisa == true |
linux |
The app is running on a Linux OS | dart.io.Platform.isLinux == true |
unknown |
The device the app is running on could not be recognised | None of the above are true |
Models - Currently Empty