UChipChoice<T> constructor
const
UChipChoice<T> ({
- required List<
T> options, - required dynamic selected,
- Key? key,
- dynamic onChanged()?,
- Widget chipBuilder()?,
- bool isMultiChoice = false,
- double spacing = 8.0,
- double runSpacing = 8.0,
- WrapAlignment alignment = WrapAlignment.start,
- ScrollController? scrollController,
- bool scrollable = false,
- ScrollPhysics? scrollPhysics,
- EdgeInsets padding = EdgeInsets.zero,
- Axis direction = Axis.horizontal,
- ChipThemeData? selectedChipStyle,
- ChipThemeData? unselectedChipStyle,
Implementation
const UChipChoice({
required this.options,
required this.selected,
super.key,
this.onChanged,
this.chipBuilder,
this.isMultiChoice = false,
this.spacing = 8.0,
this.runSpacing = 8.0,
this.alignment = WrapAlignment.start,
this.scrollController,
this.scrollable = false,
this.scrollPhysics,
this.padding = EdgeInsets.zero,
this.direction = Axis.horizontal,
this.selectedChipStyle,
this.unselectedChipStyle,
});