DynamicPalette.pro constructor

DynamicPalette.pro({
  1. ColorMixer primaryMixer = const BrightnessColorMixer(baseColor: ExampleFlatColors.wetAsphalt),
  2. ColorMixer secondaryMixer = const BrightnessColorMixer(baseColor: ExampleFlatColors.belizeHole),
  3. ColorMixer successMixer = const BrightnessColorMixer(baseColor: ExampleFlatColors.greenSea),
  4. ColorMixer neutralMixer = const BrightnessColorMixer(baseColor: ExampleFlatColors.asbestos700),
  5. ColorMixer errorMixer = const BrightnessColorMixer(baseColor: ExampleFlatColors.pomegranate),
  6. ColorMixer warningMixer = const BrightnessColorMixer(baseColor: ExampleFlatColors.pumpkin),
  7. ColorMixer contrastMixer = const BrightnessColorMixer(baseColor: ExampleFlatColors.wetAsphalt),
})

Implementation

DynamicPalette.pro({
  this.primaryMixer =
      const BrightnessColorMixer(baseColor: ExampleFlatColors.wetAsphalt),
  this.secondaryMixer =
      const BrightnessColorMixer(baseColor: ExampleFlatColors.belizeHole),
  this.successMixer =
      const BrightnessColorMixer(baseColor: ExampleFlatColors.greenSea),
  this.neutralMixer =
      const BrightnessColorMixer(baseColor: ExampleFlatColors.asbestos700),
  this.errorMixer =
      const BrightnessColorMixer(baseColor: ExampleFlatColors.pomegranate),
  this.warningMixer =
      const BrightnessColorMixer(baseColor: ExampleFlatColors.pumpkin),
  this.contrastMixer =
      const BrightnessColorMixer(baseColor: ExampleFlatColors.wetAsphalt),
});