getBackground method

Color getBackground()

methods to get accent opacity according to mode

Implementation

Color getBackground() {
  return mode == PaletteThemeModes.dark
      ? backGroundColor.dark
      : backGroundColor.light;
}