flutter_country_state 0.0.11 flutter_country_state: ^0.0.11 copied to clipboard
A new Flutter package that displays all countries with there respective state.
flutter_country_state #
A package for Flutter with a heart of gold. A new Flutter package that displays all countries with there respective state.
show some ❤️ and star the repo to support the project. #
Screenshots #
Example #
Please run the app in the Example
Installation #
- add the dependency to your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
flutter_country_state:
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>[
Text( Variables.pstate ),
Text( Variables.property_country ),
Container(child: showCountry(),)
Container(child: StateDialog(),)
],
);
}
}