Aurora Platform

Packages with information about the Aurora environment in which the current program is running. Works 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:
  aurora_platform: ^1.0.0

.dart

import 'package:aurora_platform/aurora_platform.dart';

if (kIsAurora) {
    // do things
}

...