appChannel top-level constant

String const appChannel

flutter run --dart-define=app-channel=official 多渠道打包 Android Studio可以配置运行Flutter参数 --dart-define=app-channel=official

Implementation

const appChannel = String.fromEnvironment('app-channel', defaultValue: '');