CustomizableDropdown constructor

const CustomizableDropdown({
  1. Key? key,
  2. required List itemList,
  3. required dynamic onSelectedItem(
    1. String item
    ),
  4. required Widget placeholder,
  5. double? maxHeight,
  6. double? height,
  7. double? width,
  8. Decoration? decoration,
  9. CrossAxisAlignment? crossAxisAlignment,
  10. MainAxisAlignment? mainAxisAlignment,
  11. Widget? icon,
  12. Widget? listTitle,
  13. Widget? seperator,
  14. Color? colorDropDown,
  15. BoxConstraints? constraintsDropDown,
  16. EdgeInsetsGeometry? dropDownPadding,
  17. EdgeInsetsGeometry? marginDropDown,
  18. Color? listColor,
  19. TextAlign? titleAlign,
  20. 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);