svg_flag 1.5.1
svg_flag: ^1.5.1 copied to clipboard
A curated collection of all country flags in SVG format for easier integration.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add svg_flag
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
svg_flag: ^1.5.1
copied to clipboard
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:svg_flag/svg_flag.dart';
copied to clipboard