C2Choice<T> constructor

const C2Choice<T>(
  1. {required T value,
  2. required String label,
  3. ImageProvider<Object>? avatarImage,
  4. Widget? avatarText,
  5. String? tooltip,
  6. dynamic meta,
  7. C2ChipStyle? style,
  8. VoidCallback? delete,
  9. dynamic select(
    1. bool selected
    )?,
  10. bool selected = false,
  11. bool disabled = false,
  12. bool hidden = 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,
});