HMSelect constructor

const HMSelect({
  1. bool disabled = false,
  2. bool hidden = false,
  3. required dynamic value,
  4. HMRadius? radius,
  5. Widget? selectedItemIcon,
  6. Widget? rightIcon,
  7. bool isModalView = true,
  8. bool hasDivider = true,
  9. Color? overlayColor,
  10. required List selectList,
  11. TextStyle? selectedValueTextStyle,
  12. HMSelectSize? size,
  13. TextStyle? selectedItemStyle,
  14. required Widget selectionPageTitle,
  15. Color? selectIconColor,
  16. Color? selectedBgColor,
  17. double? modalRadius,
  18. Widget? closeIcon,
  19. String? hintText,
  20. BoxDecoration? selectPanelDecoration,
  21. bool? selectIconAtLeft,
  22. required void onChanged(
    1. dynamic value
    ),
  23. Key? key,
})

Implementation

const HMSelect({
  this.disabled = false,
  this.hidden = false,
  required this.value,
  this.radius,
  this.selectedItemIcon,
  this.rightIcon,
  this.isModalView = true,
  this.hasDivider = true,
  this.overlayColor,
  required this.selectList,
  this.selectedValueTextStyle,
  this.size,
  this.selectedItemStyle,
  required this.selectionPageTitle,
  this.selectIconColor,
  this.selectedBgColor,
  this.modalRadius,
  this.closeIcon,
  this.hintText,
  this.selectPanelDecoration,
  this.selectIconAtLeft,
  required this.onChanged,
  super.key,
});