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

outdated

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

flutter_country_state #

A package for Flutter with a heart of gold. A customizable Flutter package that displays all countries with there respective state.

show some ❤️ and star the repo to support the project. #

Screenshots #

See demo example images to see how it looks.

Example #

Please run the app in the Example folder

Installation #

dependencies:
  flutter:
    sdk: flutter
  flutter_country_state:

Important #

For the country and state selected to be displayed, Go the library and uncomment the routing, replace the class COUNTRYLIST with your own class name. THANKS

Use It #

import 'package:flutter_country_state/flutter_country_state.dart';

class Country extends StatefulWidget {
  @override
  _CountryState createState() => _CountryState();
}

class _CountryState extends State<Country> {
  @override
  Widget build(BuildContext context) {
    return Column(
      children: <Widget>[

      //This displays the name of the state selected.
        Text( Variables.pstate ),
        //This displays the name of the country selected
        Text( Variables.property_country ),
        //Dialog showing all the countries.
        Container(child:  showCountry(),),
        //Dialog showing the state of the country selected
        Container(child: StateDialog(),),
      ],
    );
  }
}

## Checkout

Happy Coding!!!
16
likes
0
pub points
78%
popularity

Publisher

verified publishermiriamly.co

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_country_state