StatePicker constructor

const StatePicker({
  1. Key? key,
  2. required String? countryCode,
  3. required void onSelect(
    1. String
    ),
  4. String? hintText,
  5. String? labelText,
  6. TextEditingController? controller,
  7. bool enabled = true,
  8. String? validator(
    1. String?
    )?,
})

Implementation

const StatePicker({
  super.key,
  required this.countryCode,
  required this.onSelect,
  this.hintText,
  this.labelText,
  this.controller,
  this.enabled = true,
  this.validator,
});