SelectDropList<T> constructor
const
SelectDropList<T> ({
- Key? key,
- required OptionItems<
T> ? itemSelected, - required DropdownListModel<
T> dropListModel, - required dynamic onOptionSelected(
- OptionItems<
T>
- OptionItems<
- required String hintText,
- VoidCallback? onClear,
- bool showClearButton = false,
- bool showIcon = false,
- bool showArrowIcon = true,
- Widget? icon,
- double arrowIconSize = 20,
- Color? textColorTitle,
- double textSizeTitle = 16,
- EdgeInsetsGeometry? paddingDropItem,
- 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,
- EdgeInsetsGeometry? containerPadding,
- Color? shadowColor,
- IconData? suffixIcon,
- EdgeInsetsGeometry? containerMargin,
- double borderSize = 1,
- BorderRadiusGeometry? dropBoxBorderRadius,
- Color? dropBoxBorderColor,
- Color? dropboxColor,
- Color? scrollThumbColor,
- double? scrollThickness,
- Radius? scrollRadius,
- EdgeInsetsGeometry? padding,
Creates a SelectDropList widget.
Implementation
const SelectDropList({
super.key,
required this.itemSelected,
required this.dropListModel,
required this.onOptionSelected,
required this.hintText,
this.onClear,
this.showClearButton = false,
this.showIcon = false,
this.showArrowIcon = true,
this.icon,
this.arrowIconSize = 20,
this.textColorTitle,
this.textSizeTitle = 16,
this.paddingDropItem,
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.containerPadding,
this.shadowColor,
this.suffixIcon,
this.containerMargin,
this.borderSize = 1,
this.dropBoxBorderRadius,
this.dropBoxBorderColor,
this.dropboxColor,
this.scrollThumbColor,
this.scrollThickness,
this.scrollRadius,
this.padding,
});