configTheme method
void
configTheme({
- Color? primaryColor,
- Color? backgroundColor,
- Color? labelColor,
- AtSyncUIStyle? style,
Provide default theme for UI (dialog/snackBar ...) using in the app
Implementation
void configTheme({
Color? primaryColor,
Color? backgroundColor,
Color? labelColor,
AtSyncUIStyle? style,
}) {
_primaryColor = primaryColor ?? _kDefaultPrimaryColor;
_backgroundColor = backgroundColor ?? _kDefaultBackgroundColor;
_labelColor = labelColor ?? _kDefaultLabelColor;
_style = style ?? _kDefaultStyle;
}