svg_flag 1.2.0
svg_flag: ^1.2.0 copied to clipboard
An error-free flutter package contains SVG Flags of Countries around the world.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add svg_flagThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
svg_flag: ^1.2.0Alternatively, 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';