isLightMode property

  1. @Deprecated("Use `themeMode` instead")
bool get isLightMode

Returns true if the actual theme used in the app is light.

Implementation

@Deprecated("Use `themeMode` instead")
bool get isLightMode => themeMode == ThemeMode.light;