getSecondary900 method

Color getSecondary900()

Implementation

Color getSecondary900() {
  if (secondary900 != null) {
    return mode == PaletteThemeModes.dark
        ? secondary900!.dark
        : secondary900!.light;
  } else {
    return mode == PaletteThemeModes.dark
        ? secondary.dark.withOpacity(0.92)
        : secondary.light.withOpacity(0.92);
  }
}