Skip to content

A curated collection of all country flags in SVG format for easier integration.

License

Notifications You must be signed in to change notification settings

Nialixus/svg_flag

Repository files navigation

Svg Flag Logo

Svg Flag


A curated collection of all country flags in SVG format for easier integration.

Preview

Screenrecorder-2022-10-12-14-49-17-88

Install

Add this line to your pubspec.yaml.

dependencies:
  svg_flag: ^1.5.1

Usage

Import the package.

import 'package:svg_flag/svg_flag.dart';

Set flag from available static [FlagData]

SvgFlag(FlagData.id);

Set flag by parsing code from [String]

SvgFlag(FlagData.parse(code: "ID"));

Example

About

A curated collection of all country flags in SVG format for easier integration.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages