isLight property
bool
isLight
If the ThemeData of the current BuildContext is light
Implementation
bool get isLight => brightness == Brightness.light;
If the ThemeData of the current BuildContext is light
bool get isLight => brightness == Brightness.light;