flutter_country_picker 0.1.2 copy "flutter_country_picker: ^0.1.2" to clipboard
flutter_country_picker: ^0.1.2 copied to clipboard

outdated

A new flutter plugin project.

Pub

flutter_country_picker #

A Flutter Country Picker Widget with support to country dialing codes

Usage #

Add the CountryPicker widget in your layout and use the onChanged callback.
Full example


 @override
 Widget build(BuildContext context) {
   return new Scaffold(
     appBar: new AppBar(
       title: Text('Flutter Country Picker Demo'),
     ),
     body: new Center(
       child: CountryPicker(
         onChanged: (Country country) {
           setState(() {
             _selected = country;
           });
         },
         selectedCountry: _selected,
       ),
     ),
   );
 }

24
likes
0
pub points
87%
popularity

Publisher

unverified uploader

A new flutter plugin project.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

diacritic, flutter

More

Packages that depend on flutter_country_picker