RadioButton constructor
const
RadioButton({
- Key? key,
- required OnOptionTapped ontap,
- required int index,
- OptionData<
DescriptionableInterface> ? option, - String? icon,
- double heightIcon = 70,
- double heightNoIcon = 70,
- SelectorOrientation orientation = SelectorOrientation.horizontal,
- bool isSelected = false,
- SelectionType type = SelectionType.radio,
- TextStyle? titleStyle,
- RadioOptionStyle? radioStyle,
- bool hideTitle = false,
- 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);