RadioButton constructor

const RadioButton({
  1. Key? key,
  2. required OnOptionTapped ontap,
  3. required int index,
  4. OptionData<DescriptionableInterface>? option,
  5. String? icon,
  6. double heightIcon = 70,
  7. double heightNoIcon = 70,
  8. SelectorOrientation orientation = SelectorOrientation.horizontal,
  9. bool isSelected = false,
  10. SelectionType type = SelectionType.radio,
  11. TextStyle? titleStyle,
  12. RadioOptionStyle? radioStyle,
  13. bool hideTitle = false,
  14. bool isOnlyRead = false,
})

Implementation

const RadioButton(
    {Key? key,
    required this.ontap,
    required this.index,
    this.option,
    this.icon,
    this.heightIcon = 70,
    this.heightNoIcon = 70,
    this.orientation = SelectorOrientation.horizontal,
    this.isSelected = false,
    this.type = SelectionType.radio,
    this.titleStyle,
    this.radioStyle,
    this.hideTitle = false,
    this.isOnlyRead = false})
    : super(key: key);