ButtonSelectorWidget constructor

ButtonSelectorWidget({
  1. Key? key,
  2. required OptionTapped tapSelected,
  3. required List<OptionData<DescriptionableInterface>> options,
  4. List<String> assets = const [],
  5. SelectorOrientation orientation = SelectorOrientation.horizontal,
  6. double separation = 0.0,
  7. SelectionType selectionStyle = SelectionType.radio,
  8. TextStyle? labelStyle,
  9. RadioOptionStyle? optionStyle,
  10. bool hideTitle = false,
  11. int selectedIndex = 0,
  12. 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);