SelectionModal constructor
SelectionModal({
- bool filterable = true,
- List dataSource = const [],
- String title = 'Please select one or more option(s)',
- List values = const [],
- String textField = 'text',
- String valueField = 'value',
- int? maxLength,
- String? maxLengthText,
- Color? buttonBarColor,
- String? cancelButtonText,
- IconData? cancelButtonIcon,
- Color? cancelButtonColor,
- Color? cancelButtonTextColor,
- String? saveButtonText,
- IconData? saveButtonIcon,
- Color? saveButtonColor,
- Color? saveButtonTextColor,
- String? clearButtonText,
- IconData? clearButtonIcon,
- Color? clearButtonColor,
- Color? clearButtonTextColor,
- String? deleteButtonTooltipText,
- IconData? deleteIcon,
- Color? deleteIconColor,
- Color? selectedOptionsBoxColor,
- String? selectedOptionsInfoText,
- Color? selectedOptionsInfoTextColor,
- IconData? checkedIcon,
- IconData? uncheckedIcon,
- Color? checkBoxColor,
- Color? searchBoxColor,
- String? searchBoxHintText,
- Color? searchBoxFillColor,
- Color? searchBoxTextColor,
- IconData? searchBoxIcon,
- 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();