isLight property

bool get isLight

Whether this theme mode is light

Implementation

bool get isLight => this == ThemeMode.light;