getLabelColor method

Color getLabelColor(
  1. BuildContext context
)

Implementation

Color getLabelColor(BuildContext context) {
  final themeBloc = BlocProvider.of<FastThemeBloc>(context);

  return themeBloc.currentState.brightness == Brightness.light
      ? kFastLightLabelColor
      : kFastDarkLabelColor;
}