MultipleSelectionSearchDropList<T> constructor
const
MultipleSelectionSearchDropList<T> ({
- Key? key,
- required MultiDropdownSearchListModel<
T> dropListModel, - required List<
OptionItemsMultiSearch< selectedItems,T> > - required ValueChanged<
List< onOptionsSelected,OptionItemsMultiSearch< >T> > - required String hintText,
- Color? dropboxColor,
- Color? dropBoxBorderColor,
- Color? scrollThumbColor,
- Radius? scrollRadius,
- double? scrollThickness,
- double? heightBottomContainer,
- Color? textColorItem,
- Color? textColorTitle,
- bool showArrowIcon = false,
- bool showClearButton = false,
- VoidCallback? onClear,
- double? height,
- double? width,
- EdgeInsetsGeometry? containerPadding,
- EdgeInsetsGeometry? containerMargin,
- Decoration? containerDecoration,
- required bool showBorder,
- required bool enable,
- Color? borderColor,
- Color? shadowColor,
- required double borderSize,
- BorderRadiusGeometry? borderRadius,
- List<
BoxShadow> ? boxShadow, - double? fontSizeHint,
- double arrowIconSize = 20,
- Color? arrowColor,
- Widget? doneButton,
- bool enableSearch = true,
Creates a MultipleSelectionSearchDropList widget.
Implementation
const MultipleSelectionSearchDropList({
super.key,
required this.dropListModel,
required this.selectedItems,
required this.onOptionsSelected,
required this.hintText,
this.dropboxColor,
this.dropBoxBorderColor,
this.scrollThumbColor,
this.scrollRadius,
this.scrollThickness,
this.heightBottomContainer,
this.textColorItem,
this.textColorTitle,
this.showArrowIcon = false,
this.showClearButton = false,
this.onClear,
this.height,
this.width,
this.containerPadding,
this.containerMargin,
this.containerDecoration,
required this.showBorder,
required this.enable,
this.borderColor,
this.shadowColor,
required this.borderSize,
this.borderRadius,
this.boxShadow,
this.fontSizeHint,
this.arrowIconSize = 20,
this.arrowColor,
this.doneButton,
this.enableSearch = true,
});