brazil_state_flags 1.0.2 copy "brazil_state_flags: ^1.0.2" to clipboard
brazil_state_flags: ^1.0.2 copied to clipboard

Bandeiras dos 26 estados brasileiros e do Distrito Federal. Flags of the Brazilian states, as vectors in pure Dart. No assets, no dependencies, sharp at any size.

Changelog #

Este projeto segue Keep a Changelog e Semantic Versioning.

This project follows Keep a Changelog and Semantic Versioning.

1.0.2 #

Corrigido / Fixed #

Português

  • Ajustes no pubspec.yaml para o pub.dev: descrição encurtada para o limite de 180 caracteres e remoção do campo documentation, que apontava para a própria URL do pub.dev e falhava a verificação de alcance enquanto a documentação ainda estava sendo gerada.

English

  • pubspec.yaml adjustments for pub.dev: the description is shortened to the 180 character limit, and the documentation field is gone since it pointed at pub.dev's own URL and failed its reachability check while the docs were still being generated.

1.0.1 #

Corrigido / Fixed #

Português

  • As imagens do README agora usam URLs absolutas. O pub.dev remove tags <img> com caminhos relativos, então as capturas de tela não apareciam na página do pacote, apesar de funcionarem no GitHub. Nenhuma mudança de código.

English

  • README images now use absolute URLs. pub.dev strips <img> tags with relative paths, so the screenshots did not show on the package page even though they worked on GitHub. No code changes.

1.0.0 #

Primeira versão. / First release.

Adicionado / Added #

Português

  • 28 bandeiras (26 estados, Distrito Federal e Brasil) em 4 estilos: full, rounded, square-rounded e circle.
  • Coleções FlagsFull, FlagsRounded, FlagsSquareRounded e FlagsCircle, cada bandeira exposta como uma constante independente para permitir tree shaking.
  • Atalhos por sigla de UF em cada coleção, por exemplo FlagsCircle.sp.
  • Widget BrazilStateFlag, com size, width, height e semanticLabel.
  • Busca em tempo de execução em package:brazil_state_flags/lookup.dart, com flagForUf, stateNameForUf, brazilStates e brazilStateNames.
  • Variantes alternativas para Paraíba, Ceará e Espírito Santo.
  • parseFlagPath exposto para quem quiser desenhar as bandeiras em um CustomPainter próprio.
  • Sem assets e sem dependências além do Flutter.

English

  • 28 flags (26 states, the Federal District and Brazil) in 4 styles: full, rounded, square-rounded and circle.
  • FlagsFull, FlagsRounded, FlagsSquareRounded and FlagsCircle collections, with each flag exposed as an independent constant so unused ones are tree shaken away.
  • UF code shorthands on every collection, for example FlagsCircle.sp.
  • BrazilStateFlag widget, taking size, width, height and semanticLabel.
  • Runtime lookup in package:brazil_state_flags/lookup.dart, providing flagForUf, stateNameForUf, brazilStates and brazilStateNames.
  • Alternative variants for Paraíba, Ceará and Espírito Santo.
  • parseFlagPath exported for anyone wanting to draw the flags in their own CustomPainter.
  • No assets and no dependencies beyond Flutter.
1
likes
160
points
79
downloads
screenshot

Documentation

API reference

Publisher

verified publisheradrianogba.is-a.dev

Weekly Downloads

Bandeiras dos 26 estados brasileiros e do Distrito Federal. Flags of the Brazilian states, as vectors in pure Dart. No assets, no dependencies, sharp at any size.

Repository (GitHub)
View/report issues

Topics

#flags #brazil #icons #vector #localization

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter

More

Packages that depend on brazil_state_flags