menu
flutter_andomie package
documentation
utils/utils.dart
AndomieUtils
isLight static method
isLight static method
dark_mode
light_mode
isLight
static method
bool
isLight
(
Color
?
color
)
Implementation
static bool isLight(Color? color) => brightness(color) > 0.5;
flutter_andomie package
documentation
utils/utils
AndomieUtils
isLight static method
AndomieUtils class