isDark property

bool get isDark

Check if current theme is dark

Implementation

bool get isDark => _theme.brightness == Brightness.dark;