StatePicker constructor

const StatePicker({
  1. Key? key,
  2. required String countryName,
  3. required dynamic onChanged(
    1. StateModel
    ),
  4. double? height,
  5. double? width,
  6. Widget? customWidget,
  7. int? verticalPadding,
  8. int? horizontalPadding,
  9. bool? isSearchEnable = true,
  10. bool? pickerEnable = true,
  11. String? value,
})

Implementation

const StatePicker({
  super.key,
  required this.countryName,
  required this.onChanged,
  this.height,
  this.width,
  this.customWidget,
  this.verticalPadding,
  this.horizontalPadding,
  this.isSearchEnable = true,
  this.pickerEnable = true,
  this.value,
});