yjy_country_picker_plus

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

yjy country picker plus

Country Picker Plus 🌎 #
A flutter package to display list of Countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.



Sample 1
Sample 2
Sample 3
Sample 4











Getting Started #
STEP ONE: Please, add country_picker_plus to your package dependencies:
flutter pub add country_picker_plus
copied to clipboard
STEP TWO: Import the relevant package in the file you want to use:
import 'package:country_picker_plus/country_picker_plus.dart';
copied to clipboard
How to use #
The package has two methods that you can use according to your needs

By using the main package, all three fields, which are the country, State, and City, are created by default, and you can design them as you wish.

Sample code for this section:
CountryPickerPlus(
isRequired: true,
countryLabel: "Country",
countrySearchHintText: "Search Country",
countryHintText: "Tap to Select Country",
stateLabel: "State",
stateHintText: "Tap to Select State",
cityLabel: "City",
cityHintText: "Tap to Select City",
bottomSheetDecoration: bottomSheetDecoration,
decoration: fieldDecoration,
searchDecoration: searchDecoration,
onCountrySaved: (value) {},
onCountrySelected: (value) {},
onStateSelected: (value) {},
onCitySelected: (value) {},
),
copied to clipboard
Note: You can hide all fields until the previous field is selected
For Instance:
In the main package class. Use the following property
hideFields: true,
copied to clipboard

Or use each of the fields individually [country,state,city]

Sample code for this section:
CountryPickerPlus.country(...);
copied to clipboard
CountryPickerPlus.state(country:'COUNTRY_NAME',....);
copied to clipboard
CountryPickerPlus.city(country:'COUNTRY_NAME',state:'STATE_NAME',...);
copied to clipboard
And and and other features that you can play with using code... :)
Additional information #
A Package Developed by Ali Hosseini
Please, report the bugs through the Github repository:
https://github.com/real-ali/country_picker_plus/issues

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.