A simple flags app build using Flutter.

The goals of this project were to utilize the GridView and Hero widgets by rendering flag images on screen.

Overview

  • HomeScreen contains a GridView of clickable flag images.
  • DetailsScreen contains info on a clicked flag.

Remarks

  • Originally I had planned on using SVGs and the flutter_svg by Dan Field, however many of the country-flags SVG files did not render correctly, perhaps due to some file export incompatibilities.
  • Åland Islands is sorted last on the list, probably because compareTo considers a < z < å.

Resources

GridView

Hero

Assets Utilized

countries.json

country-flags

This post was generated from a GitHub repository.