getEffectiveColor method Null safety

Color? getEffectiveColor(
  1. BuildContext context
)

Implementation

Color? getEffectiveColor(BuildContext context) {
  return color ?? IndicatorTheme.of(context)!.color;
}