state static method

Widget state({
  1. required String countryName,
  2. required dynamic onChanged(
    1. StateModel
    ),
  3. Widget? customWidget,
  4. int? verticalPadding,
  5. int? horizontalPadding,
  6. bool? isSearchEnable = true,
  7. bool? pickerEnable = true,
  8. String? value,
})

Implementation

static Widget state({required String countryName, required Function(StateModel) onChanged, Widget? customWidget, int? verticalPadding, int? horizontalPadding, bool? isSearchEnable = true, bool? pickerEnable = true, String? value}) {
  return StatePicker(countryName: countryName, onChanged: onChanged, customWidget: customWidget, verticalPadding: verticalPadding, horizontalPadding: horizontalPadding, isSearchEnable: isSearchEnable, value: value, pickerEnable: pickerEnable);
}