Closed ra9r closed 5 years ago
I think it's built inside flutter material package.
There is code snippet inside digital_clock.dart
file which checks either it's light or dark theme:
final colors = Theme.of(context).brightness == Brightness.light ? _lightTheme : _darkTheme;
Thanks, @edburtnieks!
@ra9r I'll close this, but feel free to re-open if you still have issues.
The ClockModel currently has all the configuration options except the theme. What is the best practice for listening for a theme change in the ClockCustomizer?