country_list 0.0.5
country_list: ^0.0.5 copied to clipboard
A dart library provides a list of country data like Country Name, Dial Code, ISO Code.
country_list #
A dart library provides a list of country data like Country Name, Dial Code, ISO Code.
Getting Started #
Install #
pubspec.yaml
country_list: <latest_version>
Usage #
import 'package:country_list/country_list.dart';
.....
ListView.builder(
itemCount: Countries.list.length,
itemBuilder: (_, position) {
Country country = Countries.list[position];
return ListTile(
leading: Text(country.dialCode),
title: Text(country.name),
subtitle: Text(country.isoCode),
);
},
),