SyncTheme class
Tema personalizado para o sistema de sincronização
Esta classe define todas as cores, estilos de texto e configurações visuais usadas pelos widgets de sincronização, garantindo independência do tema principal da aplicação.
Constructors
- SyncTheme.new({required Color primary, required Color success, required Color error, required Color warning, required Color textSecondary, required Color textPrimary, required Color background, required Color surface, required TextStyle titleStyle, required TextStyle subtitleStyle, required TextStyle bodyStyle, required TextStyle buttonStyle, required TextStyle captionStyle, double borderRadius = 8.0, double spacing = 16.0, double spacingSmall = 8.0, double spacingLarge = 24.0})
-
const
Properties
- background → Color
-
Cor de fundo
final
- bodyStyle → TextStyle
-
Estilo para corpo de texto
final
- borderRadius → double
-
Raio de borda padrão
final
-
Estilo para texto de botões
final
- captionStyle → TextStyle
-
Estilo para texto pequeno/caption
final
- error → Color
-
Cor de erro
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- primary → Color
-
Cor primária do sistema de sincronização
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → double
-
Espaçamento padrão
final
- spacingLarge → double
-
Espaçamento grande
final
- spacingSmall → double
-
Espaçamento pequeno
final
- subtitleStyle → TextStyle
-
Estilo para subtítulos
final
- success → Color
-
Cor de sucesso
final
- surface → Color
-
Cor de superfície
final
- textPrimary → Color
-
Cor de texto primário
final
- textSecondary → Color
-
Cor de texto secundário
final
- titleStyle → TextStyle
-
Estilo para títulos
final
- warning → Color
-
Cor de aviso/warning
final
Methods
-
copyWith(
{Color? primary, Color? success, Color? error, Color? warning, Color? textSecondary, Color? textPrimary, Color? background, Color? surface, TextStyle? titleStyle, TextStyle? subtitleStyle, TextStyle? bodyStyle, TextStyle? buttonStyle, TextStyle? captionStyle, double? borderRadius, double? spacing, double? spacingSmall, double? spacingLarge}) → SyncTheme - Cria uma cópia do tema com valores alterados
-
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