TLWrapChoiceBox<T> constructor
const
TLWrapChoiceBox<T> (
- String title, {
- Key? key,
- List<
T> ? items, - String titleTransformer(
- T item
- bool isSelected(
- T item
- void onValueChange(
- T item,
- int index
- bool isEnable(
- T item,
- int index
- bool disabel = false,
- TextStyle? style,
- EdgeInsetsGeometry? padding,
- double? spacing,
- double? runSpacing,
- 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);