CustomDropdownField constructor
const
CustomDropdownField({
- Key? key,
- String? label,
- TextStyle? labelStyle,
- String? hint,
- required Map<
String, String> items, - String? selectedKey,
- String? errorMsg,
- Color? errorColor,
- void onChanged()?,
- Color? borderColor,
- Color? focusedBorderColor,
- Color? textColor,
- Color? hintColor,
- Color? iconColor,
- bool isDisabled = false,
- bool isOptionalMark = false,
- Color? disabledBorderColor,
- Color? disabledTextColor,
- Color? disabledBackgroundColor,
- Widget? prefixIcon,
Implementation
const CustomDropdownField({
Key? key,
this.label,
this.labelStyle,
this.hint,
required this.items,
this.selectedKey,
this.errorMsg,
this.errorColor,
this.onChanged,
this.borderColor,
this.focusedBorderColor,
this.textColor,
this.hintColor,
this.iconColor,
this.isDisabled = false,
this.isOptionalMark = false,
this.disabledBorderColor,
this.disabledTextColor,
this.disabledBackgroundColor,
this.prefixIcon,
}) : super(key: key);