isLight property
bool
get
isLight
Check is current theme is light
Implementation
bool get isLight => Theme.of(this).brightness == Brightness.light;
Check is current theme is light
bool get isLight => Theme.of(this).brightness == Brightness.light;