AppDropdownField constructor

const AppDropdownField({
  1. Key? key,
  2. String? title,
  3. TextStyle? titleTextStyle,
  4. String? hintText,
  5. Color? color,
  6. Color? borderColor,
  7. Color? fillColor,
  8. Color? focusColor,
  9. required List<String> items,
  10. String? selectedItem,
  11. dynamic onChanged(
    1. String?
    )?,
  12. String? validator(
    1. String?
    )?,
  13. bool? enabled,
  14. Widget? suffixIcon,
  15. AutovalidateMode autovalidateMode = AutovalidateMode.disabled,
})

Implementation

const AppDropdownField({
  Key? key,
  this.title,
  this.titleTextStyle,
  this.hintText,
  this.color,
  this.borderColor,
  this.fillColor,
  this.focusColor,
  required this.items,
  this.selectedItem,
  this.onChanged,
  this.validator,
  this.enabled,
  this.suffixIcon,
  this.autovalidateMode = AutovalidateMode.disabled,
}) : super(key: key);