isDark property
bool
isDark
Whether this is light
final isDark = FluentTheme.of(context).brightness.isDark;
Implementation
bool get isDark => this == Brightness.dark;
Whether this is light
final isDark = FluentTheme.of(context).brightness.isDark;
bool get isDark => this == Brightness.dark;