CountryCodePicker icon indicating copy to clipboard operation
CountryCodePicker copied to clipboard

contry code value

Open angwandi opened this issue 3 years ago • 1 comments

trying to assign the selected country value to a string and it keeps returning null. Need to save the value to firestore

onChanged: (val) { print(val.name); setState(() { val.name = countryValue.toString(); print(countryValue); }); },

angwandi avatar Jul 15 '21 13:07 angwandi

The problem is here val.name = countryValue.toString() <-- it's reverse it should be like this countryValue = val.name.toString()

AzadCoder avatar Sep 07 '21 00:09 AzadCoder