SearchDropList<T> constructor
const
SearchDropList<T> ({
- Key? key,
- required DropdownSearchListModel<
T> dropListModel, - required OptionItemsSearch<
T> ? itemSelected, - required ValueChanged<
OptionItemsSearch< onOptionSelected,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,
Creates a SearchDropList widget.
Implementation
const SearchDropList({
super.key,
required this.dropListModel,
required this.itemSelected,
required this.onOptionSelected,
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,
});