CupertinoRadioChoice constructor

CupertinoRadioChoice({
  1. required Map<dynamic, String> choices,
  2. required Function onChange,
  3. required dynamic initialKeyValue,
  4. Color selectedColor = CupertinoColors.systemBlue,
  5. Color notSelectedColor = CupertinoColors.inactiveGray,
  6. bool enabled = true,
})

CupertinoRadioChoice displays a radio choice widget with cupertino format

Implementation

CupertinoRadioChoice(
    {required this.choices,
    required this.onChange,
    required this.initialKeyValue,
    this.selectedColor = CupertinoColors.systemBlue,
    this.notSelectedColor = CupertinoColors.inactiveGray,
    this.enabled = true});