platform_aurora
Packages with information about the Aurora environment in which the current program is running. Work on upstream Flutter SDK
Features
-
kIsAurora- The flag shows whether the operating system is a version of Aurora. -
PlatformAurora.isAurora- The static function with same functional.
Usage
pubspec.yaml
dependencies:
platform_aurora:
git:
url: https://gitlab.com/omprussia/flutter/flutter-community-plugins/platform_aurora.git
ref: aurora-0.0.3
.dart
import 'package:platform_aurora/platform_aurora.dart';
if (PlatformAurora.isAurora) {
// do things
}
// or
if (kIsAurora) {
// do things
}
...