CityDropdownField constructor

const CityDropdownField({
  1. Key? key,
  2. CityModel? initialValue,
  3. String? stateId,
  4. ValueChanged<CityModel?>? onChanged,
  5. String? errorText,
  6. bool enabled = true,
  7. String label = 'City',
  8. String hint = 'Select city',
})

Implementation

const CityDropdownField({
  super.key,
  this.initialValue,
  this.stateId,
  this.onChanged,
  this.errorText,
  this.enabled = true,
  this.label = 'City',
  this.hint = 'Select city',
});