Appearance constructor

Appearance({
  1. DynamicColors? colors,
  2. Shapes? shapes,
  3. PrimaryButton? primaryButton,
  4. String? locale,
})

Implementation

Appearance({
  DynamicColors? colors,
  Shapes? shapes,
  PrimaryButton? primaryButton,
  String? locale,
}) {
  themeData = {
    'colors': colors?.toJson(),
    'shapes': shapes?.toJson(),
    'primaryButton': primaryButton?.toJson(),
    'locale': locale,
  };
}