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

7 lines
183 B
Dart

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