SearchDropList constructor
const
SearchDropList({
- Key? key,
- required OptionItem itemSelected,
- required DropListModel dropListModel,
- required bool showIcon,
- required bool showArrowIcon,
- required dynamic onOptionSelected(
- OptionItem optionItem
- required TextEditingController textEditingController,
- double paddingLeft = 20,
- double paddingRight = 20,
- double paddingTop = 20,
- double paddingBottom = 20,
- Widget? icon,
- double arrowIconSize = 20,
- Color? textColorTitle,
- double textSizeTitle = 16,
- Color? arrowColor,
- Color? textColorItem,
- double textSizeItem = 14,
- bool showBorder = true,
- bool enable = true,
- double? width,
- BorderRadiusGeometry? borderRadius,
- double? height,
- double? heightBottomContainer,
- List<
BoxShadow> ? boxShadow, - Color? borderColor,
- Color? hintColorTitle,
- Decoration? containerDecoration,
- Decoration? containerDecorationSearch,
- EdgeInsetsGeometry? containerPadding,
- Color? shadowColor,
- IconData? suffixIcon,
- EdgeInsetsGeometry? containerMargin,
- double? heightSearchFeild,
- Color? dropboxborderColor,
- Color? dropboxColor,
- BorderRadiusGeometry? dropbBoxborderRadius,
- double borderSize = 1,
Implementation
const SearchDropList(
{super.key,
required this.itemSelected,
required this.dropListModel,
required this.showIcon,
required this.showArrowIcon,
required this.onOptionSelected,
required this.textEditingController,
this.paddingLeft = 20,
this.paddingRight = 20,
this.paddingTop = 20,
this.paddingBottom = 20,
this.icon,
this.arrowIconSize = 20,
this.textColorTitle,
this.textSizeTitle = 16,
this.arrowColor,
this.textColorItem,
this.textSizeItem = 14,
this.showBorder = true,
this.enable = true,
this.width,
this.borderRadius,
this.height,
this.heightBottomContainer,
this.boxShadow,
this.borderColor,
this.hintColorTitle,
this.containerDecoration,
this.containerDecorationSearch,
this.containerPadding,
this.shadowColor,
this.suffixIcon,
this.containerMargin,
this.heightSearchFeild,
this.dropboxborderColor,
this.dropboxColor,
this.dropbBoxborderRadius,
this.borderSize = 1});