isLightTheme property
bool
isLightTheme
Whether the theme brightness is light.
Implementation
bool get isLightTheme => theme.brightness == Brightness.light;
Whether the theme brightness is light.
bool get isLightTheme => theme.brightness == Brightness.light;