https://github.com/tlaster/platform_ex
Utility to check flutter runtime platform (Web, Android, iOS, MacOS, Windows, Linux, Fuchsia)
https://github.com/tlaster/platform_ex
Last synced: about 1 month ago
JSON representation
Utility to check flutter runtime platform (Web, Android, iOS, MacOS, Windows, Linux, Fuchsia)
- Host: GitHub
- URL: https://github.com/tlaster/platform_ex
- Owner: Tlaster
- License: mit
- Created: 2020-07-10T07:25:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-10T07:43:20.000Z (almost 6 years ago)
- Last Synced: 2025-03-09T08:43:48.766Z (about 1 year ago)
- Language: Dart
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# platform_ex
Utility to check flutter runtime platform (Web, Android, iOS, MacOS, Windows, Linux, Fuchsia)
# Installation
```
platform_ex: ^0.0.1
```
# Useage
```
PlatformEx.isWeb;
PlatformEx.isAndroid;
PlatformEx.isIOS;
PlatformEx.isMacOS;
PlatformEx.isWindows;
PlatformEx.isFuchsia;
PlatformEx.isLinux;
```