MultiSelectOption constructor

MultiSelectOption({
  1. required String name,
  2. String? id,
  3. ColorsTypes color = ColorsTypes.Default,
})

Main multi select option property constructor.

Required the name field to display a text for the option. Also can receive the id and the color of the option.

Implementation

MultiSelectOption(
    {required this.name, this.id, this.color: ColorsTypes.Default});