apiverve_countryflags 1.2.2
apiverve_countryflags: ^1.2.2 copied to clipboard
Country Flags is a country flag API that fetches direct download URLs for national flag images using two-letter ISO country codes. Responses return the country name, ISO code, and image link, while pa [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add apiverve_countryflagsWith Flutter:
$ flutter pub add apiverve_countryflagsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
apiverve_countryflags: ^1.2.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:apiverve_countryflags/apiverve_countryflags.dart';