country_list 0.0.1 copy "country_list: ^0.0.1" to clipboard
country_list: ^0.0.1 copied to clipboard

outdated

Library to provide list of country data like, Country Name (`name`), Phone Sial Code (`dial`), Country Apha-2 Code (`alpha2`).

country_list #

Library to provide list of country data like, Country Name (name), Phone Sial Code (dial), Country Apha-2 Code (alpha2).

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) {
        Map<String, String> country = Countries.list[position];
        return ListTile(
        leading: Text(country['dial'] ?? ''),
        title: Text(country['name'] ?? ''),
        subtitle: Text(country['alpha2'] ?? ''),
        );
    },
),
6
likes
0
pub points
84%
popularity

Publisher

verified publishercrawlink.com

Library to provide list of country data like, Country Name (`name`), Phone Sial Code (`dial`), Country Apha-2 Code (`alpha2`).

Homepage

License

unknown (LICENSE)

More

Packages that depend on country_list