isDarkTheme property

bool isDarkTheme
final

indicates whether the Theme is dark or light

Implementation

final bool isDarkTheme;