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