evaluate method

Future<void> evaluate()

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();
}