SelectState constructor

const SelectState({
  1. Key? key,
  2. required ValueChanged<String> onCountryChanged,
  3. required ValueChanged<String> onStateChanged,
  4. required ValueChanged<String> onCityChanged,
  5. InputDecoration decoration = const InputDecoration(contentPadding: EdgeInsets.all(0.0)),
  6. double spacing = 0.0,
  7. TextStyle? style,
  8. String? selectedCountryLabel,
  9. String? selectedStateLabel,
  10. String? selectedCityLabel,
  11. TextStyle? labelStyle,
  12. Color? dropdownColor,
  13. VoidCallback? onCountryTap,
  14. VoidCallback? onStateTap,
  15. VoidCallback? onCityTap,
})

Implementation

const SelectState(
    {Key? key,
    required this.onCountryChanged,
    required this.onStateChanged,
    required this.onCityChanged,
    this.decoration =
        const InputDecoration(contentPadding: EdgeInsets.all(0.0)),
    this.spacing = 0.0,
    this.style,
    this.selectedCountryLabel,
    this.selectedStateLabel,
    this.selectedCityLabel,
    this.labelStyle,
    this.dropdownColor,
    this.onCountryTap,
    this.onStateTap,
    this.onCityTap})
    : super(key: key);