Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cikichen/flutter_channel
https://github.com/cikichen/flutter_channel
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cikichen/flutter_channel
- Owner: cikichen
- License: other
- Created: 2021-01-06T06:43:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-06T06:48:58.000Z (about 4 years ago)
- Last Synced: 2023-08-20T21:57:47.829Z (over 1 year ago)
- Language: Dart
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter_channel
get flavor name.
## Getting Started
This project is a starting point for a Flutter
[plug-in package](https://flutter.dev/developing-packages/),
get flavor name for Android and/or iOS.## Use
```
try {
platformVersion = await FlutterChannel.getChannelName("channel_string");
} on PlatformException {
platformVersion = 'Failed to get platform version.';
}
```