flutter_countryify 0.0.4 copy "flutter_countryify: ^0.0.4" to clipboard
flutter_countryify: ^0.0.4 copied to clipboard

A Flutter package to get country details (name, code, currency) and flag widgets in square, rounded, or circle shapes.

flutter_countryify #

A Flutter package to display country details including flags, name, currency, and phone code.

✨ Features #

✅ Get country by name or code
✅ Display SVG flags in square, circle, rounded, or rectangle shapes
✅ Built-in 270+ countries data
✅ Offline and lightweight


🚀 Installation #

Add this to your pubspec.yaml:

dependencies:
  flutter_countryify: ^0.0.4

💡 Usage #

Import the package:

import 'package:flutter_countryify/flutter_countryify.dart';
final country = CountryData.fromCode('PK');

print("Country Name :", country.name);       // Pakistan
print("Country Code :", country.code);   // PK
print("Country Currency : ",country.currency);  // PKR
print("Country Dialing Code : ",country.phoneCode);  // +92

//Diplay Country Flag
 CountryFlag(
      countryCode: countryCode,
      shape: FlagShape.circle,
      size: 100,
);

🖼️ Preview #

flutter_countryify example

2
likes
150
points
37
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package to get country details (name, code, currency) and flag widgets in square, rounded, or circle shapes.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on flutter_countryify