countries_world_map
A simple widget for a customizable WorldMap (or any country of choice). Which can all be colored based on the ISO two-letter countrycodes (or state ID).
1.3.0
4.9K downloads/mo
#3849 most downloaded on pub.dev
simplewidgets/countries_world_map
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 months
Most releases are documented
notes for 11 of 16 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
18 releases · first in 2021
0 releases in the last 12 months
see the full history below
Release timeline
18 releases · Jul 2021 to Apr 2024Releases
latest 18-
1.3.012 Apr 2024Release notes
Open source →Removed all finals from the helper classes. Now it can be more easily referenced and used for updating the colors of the map.
-
1.2.307 Apr 2024Nothing published for this version
-
1.2.207 Apr 2024Nothing published for this version
-
1.2.107 Apr 2024Nothing published for this version
-
1.2.007 Apr 2024Release notes
Open source →Added mouse hover support to the SimpleMap widget. Simply add the onHover parameter to get started!
onHover: (id, name, isHovering) { setState(() { if (isHovering) { colors[id] = Colors.blue; } else { colors.remove(id); } }); }, -
1.1.102 Oct 2023Release notes
Open source →Update README.md to reflect correct example link as mentioned here: Github Issue: example website is down
-
1.1.013 Jun 2023Release notes
Open source →New mercator world map and the ability to add border colors to each map. Special thanks to @cgaisl for this contribution.
-
1.0.306 Jan 2023Nothing published for this version
-
1.0.130 Dec 2022 -
1.0.030 Dec 2022Release notes
Open source →🌍🌏🌎 🥳 In this release 136 countries have been added. The painter has been replaced with an adaptable one which takes a string of instructions as input. Please read the README.md on how the get started.
! Sadly other versions will break with this new release.
-
1.0.0-230 Dec 2022 pre-releaseNothing published for this version
-
1.0.0-130 Dec 2022 pre-releaseNothing published for this version
-
0.0.722 Feb 2022Nothing published for this version
-
0.0.623 Oct 2021 -
0.0.403 Aug 2021Release notes
Open source →There is an online example available now at example.simplewidgets.dev. This has been added to the README.
-
0.0.322 Jul 2021 -
0.0.222 Jul 2021 -
0.0.122 Jul 2021Release notes
Open source →First release. At this moment the world map works as expected. It is possible to assign a color to each country. The memory usage seems good, however I have found some problems on the iPad Pro 2018.
"thread #23, name = 'DartWorker', stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=2867 MB, unused=0x0)" This only occurs by randomly assign colors to each country at a very highspeed. For normal usage no problems has been found.