IDSMultiSelectDropDown constructor

const IDSMultiSelectDropDown({
  1. Key? key,
  2. required List<String> options,
  3. required List<String> selectedValues,
  4. required dynamic onChanged(
    1. List<String>
    ),
  5. String? whenEmpty,
  6. Widget? icon,
  7. Widget? hint,
  8. TextStyle? hintStyle,
  9. Widget childBuilder(
    1. List<String> selectedValues
    )?,
  10. Widget menuItembuilder(
    1. String option
    )?,
  11. bool isDense = true,
  12. bool enabled = true,
  13. InputDecoration? decoration,
  14. String validator(
    1. String? selectedOptions
    )?,
  15. bool readOnly = false,
  16. int? limit = 0,
  17. required dynamic onLimitMessage(
    1. List<String>
    ),
})

Implementation

const IDSMultiSelectDropDown({
  Key? key,
  required this.options,
  required this.selectedValues,
  required this.onChanged,
  this.whenEmpty,
  this.icon,
  this.hint,
  this.hintStyle,
  this.childBuilder,
  this.menuItembuilder,
  this.isDense = true,
  this.enabled = true,
  this.decoration,
  this.validator,
  this.readOnly = false,
  this.limit = 0,
  required this.onLimitMessage,
}) : super(key: key);