get_country_code_by_name 0.0.2 copy "get_country_code_by_name: ^0.0.2" to clipboard
get_country_code_by_name: ^0.0.2 copied to clipboard

A Flutter package to retrieve country codes by passing the country name.

Certainly! Here's a README.md template you can use for your package:

# get_country_code_by_name

A Flutter package to retrieve country codes by passing the country name.

## Installation

Add `get_country_code_by_name` to your `pubspec.yaml` file:

```yaml
dependencies:
  flutter:
    sdk: flutter
  get_country_code_by_name: ^1.0.0

Install the package by running:

flutter pub get

Import the package in your Dart code:

import 'package:get_country_code_by_name/country_code_resolver.dart';

Usage #

You can use the CountryCodeResolver class to retrieve country codes by passing the country name.

void main() {
  // Example usage
  print(CountryCodeResolver.getCountryCode('egypt')); // Output: eg
}

Features #

  • Retrieve country codes by country name.

Issues and Feedback #

Please file any issues, feedback, or feature requests in the issue tracker.

License #

This project is licensed under the terms of the MIT license. See the LICENSE file for details.

About #

This Flutter package is developed and maintained by Mohamed Hekal.

3
likes
0
pub points
17%
popularity

Publisher

unverified uploader

A Flutter package to retrieve country codes by passing the country name.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on get_country_code_by_name