CustomizableDropdown constructor
const
CustomizableDropdown({
- Key? key,
- required List itemList,
- required dynamic onSelectedItem(
- String item
- required Widget placeholder,
- double? maxHeight,
- double? height,
- double? width,
- Decoration? decoration,
- CrossAxisAlignment? crossAxisAlignment,
- MainAxisAlignment? mainAxisAlignment,
- Widget? icon,
- Widget? listTitle,
- Widget? seperator,
- Color? colorDropDown,
- BoxConstraints? constraintsDropDown,
- EdgeInsetsGeometry? dropDownPadding,
- EdgeInsetsGeometry? marginDropDown,
- Color? listColor,
- TextAlign? titleAlign,
- TextStyle? titleStyle,
Here we go the dropdown StateFull Widget
Implementation
const CustomizableDropdown({
Key? key,
required this.itemList,
required this.onSelectedItem,
required this.placeholder,
this.maxHeight,
this.height,
this.width,
this.decoration,
this.crossAxisAlignment,
this.mainAxisAlignment,
this.icon,
this.listTitle,
this.seperator,
this.colorDropDown,
this.constraintsDropDown,
this.dropDownPadding,
this.marginDropDown,
this.listColor,
this.titleAlign,
this.titleStyle,
}) : super(key: key);