MultiSelectOption constructor
MultiSelectOption({
- required String name,
- String? id,
- 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});