evaluate method
Evaluate and update the current theme based on time. Call this on app resume or periodically.
Implementation
Future<void> evaluate() async {
final enabled = await isEnabled;
if (!enabled) return;
await _evaluateTheme();
}
Evaluate and update the current theme based on time. Call this on app resume or periodically.
Future<void> evaluate() async {
final enabled = await isEnabled;
if (!enabled) return;
await _evaluateTheme();
}