flutter_country_state 0.1.2 copy "flutter_country_state: ^0.1.2" to clipboard
flutter_country_state: ^0.1.2 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. #

Example #

Please run the app in the Example folder

##Screenshots <img src = "ss1.jpg" height="300em /> <img src = "ss2.jpg" height="300em /> <img src = "ss3.jpg" height="300em /> <img src = "ss4.jpg" height="300em />

Installation #

dependencies:
  flutter:
    sdk: flutter
  flutter_country_state:

Use It #

import 'package:flutter_country_state/flutter_country_state.dart';
import 'package:flutter_country_state/st.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(),),
      ],
    );
  }
}

Check this #

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