getPrimary200 method

Color getPrimary200()

Implementation

Color getPrimary200() {
  if (primary200 != null) {
    return mode == PaletteThemeModes.dark
        ? primary200!.dark
        : primary200!.light;
  } else {
    return mode == PaletteThemeModes.dark
        ? primary.dark.withOpacity(0.20)
        : primary.light.withOpacity(0.20);
  }
}