C2Choice<T> constructor
const
C2Choice<T> (
- {required T value,
- required String label,
- ImageProvider<
Object> ? avatarImage, - Widget? avatarText,
- String? tooltip,
- dynamic meta,
- C2ChipStyle? style,
- VoidCallback? delete,
- dynamic select(
- bool selected
- bool selected = false,
- bool disabled = false,
Default Constructor
Implementation
const C2Choice({
required this.value,
required this.label,
this.avatarImage,
this.avatarText,
this.tooltip,
this.meta,
this.style,
this.delete,
this.select,
this.selected = false,
this.disabled = false,
this.hidden = false,
});