lemmur-app-android/lib/util/extensions/brightness.dart

7 lines
183 B
Dart
Raw Normal View History

import 'package:flutter/material.dart';
extension ReverseBrightness on Brightness {
Brightness get reverse =>
this == Brightness.dark ? Brightness.light : Brightness.dark;
}