SelectState constructor
const
SelectState({
- Key? key,
- required ValueChanged<
String> onCountryChanged, - required ValueChanged<
String> onStateChanged, - required ValueChanged<
String> onCityChanged, - InputDecoration decoration = const InputDecoration(contentPadding: EdgeInsets.all(0.0)),
- double spacing = 0.0,
- TextStyle? style,
- String? selectedCountryLabel,
- String? selectedStateLabel,
- String? selectedCityLabel,
- TextStyle? labelStyle,
- Color? dropdownColor,
- VoidCallback? onCountryTap,
- VoidCallback? onStateTap,
- 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);