configTheme method

void configTheme({
  1. Color? primaryColor,
  2. Color? backgroundColor,
  3. Color? labelColor,
  4. 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;
}