isLightMode property
bool
get
isLightMode
Returns true if the active theme is light mode.
Implementation
bool get isLightMode => theme.brightness == Brightness.light;
Returns true if the active theme is light mode.
bool get isLightMode => theme.brightness == Brightness.light;