flutter_ios_dark_mode 0.0.1
flutter_ios_dark_mode: ^0.0.1

Flutter Android iOS

Flutter plugin for getting iOS 13 Dark Mode current enabled state

flutter_ios_dark_mode #

Flutter plugin for getting iOS 13 Dark Mode current enabled state

Usage #

Add package as depndency to pubspec.yaml

import 'package:flutter_ios_dark_mode/flutter_ios_dark_mode.dart';

// Get current state
final bool darkModeEnabled = await FlutterIosDarkMode().darkModeEnabled;

// or subscribe to changes
FlutterIosDarkMode().onDarkModeStateChanged.listen((bool darkModeEnabled) {
  /* ... */
})
0
likes
80
pub points
21%
popularity

Flutter plugin for getting iOS 13 Dark Mode current enabled state

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

elizarov.vanya@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_ios_dark_mode