TLWrapChoiceBox<T> constructor

const TLWrapChoiceBox<T>(
  1. String title, {
  2. Key? key,
  3. List<T>? items,
  4. String titleTransformer(
    1. T item
    )?,
  5. bool isSelected(
    1. T item
    )?,
  6. void onValueChange(
    1. T item,
    2. int index
    )?,
  7. bool isEnable(
    1. T item,
    2. int index
    )?,
  8. bool disabel = false,
  9. TextStyle? style,
  10. EdgeInsetsGeometry? padding,
  11. double? spacing,
  12. double? runSpacing,
  13. TLWrapChoiceBoxType? type = TLWrapChoiceBoxType.none,
})

Implementation

const TLWrapChoiceBox(
  this.title, {
  Key? key,
  this.items,
  this.titleTransformer,
  this.isSelected,
  this.onValueChange,
  this.isEnable,
  this.disabel = false,
  this.style,
  this.padding,
  this.spacing,
  this.runSpacing,
  this.type = TLWrapChoiceBoxType.none,
}) : super(key: key);