getRadioFillColor function

Color getRadioFillColor(
  1. Set<MaterialState> states
)

Implementation

Color getRadioFillColor(Set<MaterialState> states) {
  const Set<MaterialState> interactiveStates = <MaterialState>{
    MaterialState.selected,
  };
  if (states.any(interactiveStates.contains)) {
    return const Color(0xFF8bdf67);
  }
  return const Color(0xFFFFFFFF);
}