ChipsChoiceOption<T> constructor

ChipsChoiceOption<T>(
  1. {@required T value,
  2. @required String label,
  3. Widget avatar,
  4. bool disabled: false,
  5. bool hidden: false,
  6. dynamic meta}
)

Default Constructor

Implementation

ChipsChoiceOption({
  @required this.value,
  @required this.label,
  this.avatar,
  this.disabled = false,
  this.hidden = false,
  this.meta,
}) : assert(disabled != null),
  assert(hidden != null);