DefaultDropdownFormField constructor

const DefaultDropdownFormField({
  1. Key? key,
  2. required String label,
  3. required dynamic onChanged(
    1. String? newValue
    ),
  4. required List<String> items,
  5. required String hint,
  6. String? value,
  7. bool? disabled,
  8. Color? labelColor,
  9. IconData? prefixIcon,
  10. double? height,
  11. double? width,
})

Implementation

const DefaultDropdownFormField({
  Key? key,
  required this.label,
  required this.onChanged,
  required this.items,
  required this.hint,
  this.value,
  this.disabled,
  this.labelColor,
  this.prefixIcon,
  this.height,
  this.width,
}) : super(key: key);