ButtonSelectorWidget constructor
ButtonSelectorWidget({
- Key? key,
- required OptionTapped tapSelected,
- required List<
OptionData< options,DescriptionableInterface> > - List<
String> assets = const [], - SelectorOrientation orientation = SelectorOrientation.horizontal,
- double separation = 0.0,
- SelectionType selectionStyle = SelectionType.radio,
- TextStyle? labelStyle,
- RadioOptionStyle? optionStyle,
- bool hideTitle = false,
- int selectedIndex = 0,
- bool isOnlyRead = false,
Implementation
ButtonSelectorWidget(
{Key? key,
required this.tapSelected,
required this.options,
this.assets = const [],
this.orientation = SelectorOrientation.horizontal,
this.separation = 0.0,
this.selectionStyle = SelectionType.radio,
this.labelStyle,
this.optionStyle,
this.hideTitle = false,
this.selectedIndex = 0,
this.isOnlyRead = false})
: super(key: key);