flutter_channel 0.0.1 copy "flutter_channel: ^0.0.1" to clipboard
flutter_channel: ^0.0.1 copied to clipboard

get channel name.

flutter_channel #

get flavor name.

Getting Started #

This project is a starting point for a Flutter plug-in package, get flavor name for Android and/or iOS.

Use #

try {
    platformVersion = await FlutterChannel.getChannelName("channel_string");
} on PlatformException {
    platformVersion = 'Failed to get platform version.';
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

get channel name.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_channel