SelectionModal constructor

SelectionModal({
  1. bool filterable = true,
  2. List dataSource = const [],
  3. String title = 'Please select one or more option(s)',
  4. List values = const [],
  5. String textField = 'text',
  6. String valueField = 'value',
  7. int? maxLength,
  8. String? maxLengthText,
  9. Color? buttonBarColor,
  10. String? cancelButtonText,
  11. IconData? cancelButtonIcon,
  12. Color? cancelButtonColor,
  13. Color? cancelButtonTextColor,
  14. String? saveButtonText,
  15. IconData? saveButtonIcon,
  16. Color? saveButtonColor,
  17. Color? saveButtonTextColor,
  18. String? clearButtonText,
  19. IconData? clearButtonIcon,
  20. Color? clearButtonColor,
  21. Color? clearButtonTextColor,
  22. String? deleteButtonTooltipText,
  23. IconData? deleteIcon,
  24. Color? deleteIconColor,
  25. Color? selectedOptionsBoxColor,
  26. String? selectedOptionsInfoText,
  27. Color? selectedOptionsInfoTextColor,
  28. IconData? checkedIcon,
  29. IconData? uncheckedIcon,
  30. Color? checkBoxColor,
  31. Color? searchBoxColor,
  32. String? searchBoxHintText,
  33. Color? searchBoxFillColor,
  34. Color? searchBoxTextColor,
  35. IconData? searchBoxIcon,
  36. String? searchBoxToolTipText,
})

Implementation

SelectionModal(
    {this.filterable = true,
    this.dataSource = const [],
    this.title = 'Please select one or more option(s)',
    this.values = const [],
    this.textField = 'text',
    this.valueField = 'value',
    this.maxLength,
    this.maxLengthText,
    this.buttonBarColor,
    this.cancelButtonText,
    this.cancelButtonIcon,
    this.cancelButtonColor,
    this.cancelButtonTextColor,
    this.saveButtonText,
    this.saveButtonIcon,
    this.saveButtonColor,
    this.saveButtonTextColor,
    this.clearButtonText,
    this.clearButtonIcon,
    this.clearButtonColor,
    this.clearButtonTextColor,
    this.deleteButtonTooltipText,
    this.deleteIcon,
    this.deleteIconColor,
    this.selectedOptionsBoxColor,
    this.selectedOptionsInfoText,
    this.selectedOptionsInfoTextColor,
    this.checkedIcon,
    this.uncheckedIcon,
    this.checkBoxColor,
    this.searchBoxColor,
    this.searchBoxHintText,
    this.searchBoxFillColor,
    this.searchBoxTextColor,
    this.searchBoxIcon,
    this.searchBoxToolTipText})
    : super();