defineBackgroundColor method

  1. @override
Color defineBackgroundColor(
  1. BuildContext context
)
override

Implementation

@override
Color defineBackgroundColor(BuildContext context) {
  final theme = Provider.of<ThemeRepository>(context).theme;
  return style?.backgroundColor ??
      theme.secondaryButtonTheme?.style?.backgroundColor ??
      SeniorColors.grayscale50;
}