HMSelect constructor
const
HMSelect({
- bool disabled = false,
- required dynamic value,
- HMRadius? radius,
- Widget? selectedItemIcon,
- Widget? rightIcon,
- bool isModalView = true,
- bool hasDivider = true,
- Color? overlayColor,
- required List selectList,
- TextStyle? selectedValueTextStyle,
- HMSelectSize? size,
- TextStyle? selectedItemStyle,
- required Widget selectionPageTitle,
- Color? selectIconColor,
- Color? selectedBgColor,
- double? modalRadius,
- Widget? closeIcon,
- String? hintText,
- BoxDecoration? selectPanelDecoration,
- bool? selectIconAtLeft,
- required void onChanged(
- dynamic value
- 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,
});