TCheckboxGroupItem<T extends Object?>.map constructor

TCheckboxGroupItem<T extends Object?>.map(
  1. T value, {
  2. Color? color,
})

Creates an item where the label is the string representation of the value.

Implementation

TCheckboxGroupItem.map(
  this.value, {
  this.color,
}) : label = value.toString();