TrainingHomeSync class
Manda o retrato do dia para o widget sempre que ele muda: um treino (a conta de hoje anda), a meta, ou a hora do aviso. Só o que mudou sai.
Constructors
- TrainingHomeSync({required AppClock clock, required ExerciseTimeRecorder recorder, required DailyGoalCubit meta, required TrainingReminderCubit reminder, TrainingHomeNotifier? notifier})
Properties
- clock → AppClock
-
O relógio do app (CT05d): o dia do retrato.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- meta → DailyGoalCubit
-
A meta de cada dia.
final
- recorder → ExerciseTimeRecorder
-
Os minutos de treino: com a meta, dizem quanto falta hoje.
final
- reminder → TrainingReminderCubit
-
A hora do aviso de treino.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
snapshot(
) → TrainingHomeSnapshot - O retrato de agora, sem mandar.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited