TrainingHomeSnapshot class

O que o widget mostra: os minutos de hoje, a meta e a hora do aviso (null com o aviso desligado). O dia vai junto: o aparelho zera a conta de um dia que já passou, sem precisar do app.

Constructors

TrainingHomeSnapshot({required DateTime dia, required int minutos, required int meta, required TimeOfDay? horario})
const
TrainingHomeSnapshot.de({required ExerciseTimeSummary resumo, required DailyGoal goal, required TimeOfDay? horario, required DateTime agora})
factory

Properties

dia → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
horario → TimeOfDay?
final
meta → int
final
minutos → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
Como o lado Android lê: o dia 2026-10-27 e a hora 20:00.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited