flutter_country_state 0.2.4 copy "flutter_country_state: ^0.2.4" to clipboard
flutter_country_state: ^0.2.4 copied to clipboard

outdated

A customizable Flutter package that displays all countries with it respective state.

flutter_country_state #

A customizable Flutter package that displays all countries with there respective states.

Example #

Please run the app in the Example folder

Installation #

dependencies:
  flutter:
    sdk: flutter
  flutter_country_state:

You can also change the style of the text of list of the country and states #

-searchHint

-substringBackground

-subStringStyle

-style

-searchStyle


Use It #

This will display the countries; You can display the country and state either with bottom sheet or dialog #

ShowMyDialog(
searchHint: 'Search country',
substringBackground: Colors.green,
style: TextStyle(),
searchStyle: TextStyle(),
subStringStyle: TextStyle(),
)

This will display the states of the country selected #

StateDialog(
style: TextStyle(),
subStringStyle: TextStyle(),
substringBackground: Colors.blueAccent,

),

Next goal #

  • [ x ] Add countries flag
  • [ x ] Add countries code
16
likes
0
pub points
78%
popularity

Publisher

verified publishermiriamly.co

A customizable Flutter package that displays all countries with it respective state.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_country_state