getPaletteColors static method
Implementation
static FastPaletteColors getPaletteColors(BuildContext context) {
final themeBloc = BlocProvider.of<FastThemeBloc>(context);
return themeBloc.currentState.brightness == Brightness.light
? kLightPaletteColors
: kDarkPaletteColors;
}