SyncStatusHelpers class
Classe utilitária para helpers relacionados ao status de sincronização
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
formatDateTime(
DateTime dateTime) → String - Formata data e hora para exibição amigável
-
getBackgroundColor(
SyncStatus status, bool isOnline) → Color - Retorna a cor de fundo baseada no SyncStatus e conectividade
-
getBorderColor(
SyncStatus status, bool isOnline) → Color - Retorna a cor da borda baseada no SyncStatus e conectividade
-
getStatusColor(
SyncStatus status, bool isOnline) → Color - Retorna a cor do status para uso em detalhes
-
getStatusText(
SyncStatus status, bool isOnline) → String - Retorna o texto do status baseado no SyncStatus e conectividade
-
getTextColor(
SyncStatus status, bool isOnline) → Color - Retorna a cor do texto baseada no SyncStatus e conectividade