StatePicker constructor
const
StatePicker({
- Key? key,
- required String? countryCode,
- required ValueNotifier<
String?> selectedState, - String? prefixText,
- String? labelText,
- String? hintText,
- bool enabled = true,
- String? validator()?,
- bool isFilled = false,
- Color? focusedBorderColor,
- OutlineInputBorder? inputBorder,
- double? borderRadius,
- EdgeInsets? contentPadding,
- Widget? suffixIcon,
- Widget? prefixIcon,
- OutlineInputBorder? errorBorder,
- TextStyle? errorStyle,
- TextStyle? hintStyle,
- TextStyle? labelStyle,
Implementation
const StatePicker({
super.key,
required this.countryCode,
required this.selectedState,
this.prefixText,
this.labelText,
this.hintText,
this.enabled = true,
this.validator,
this.isFilled = false,
this.focusedBorderColor,
this.inputBorder,
this.borderRadius,
this.contentPadding,
this.suffixIcon,
this.prefixIcon,
this.errorBorder,
this.errorStyle,
this.hintStyle,
this.labelStyle,
});