ethiopia_regions_data 0.3.0
ethiopia_regions_data: ^0.3.0 copied to clipboard
Lightweight Ethiopian regions, zones, woredas, and cities. Pure Dart, no deps, JSON-backed data for forms and pickers.
Changelog #
0.2.0 #
- Expanded zones and woredas JSON for Oromia, Amhara, Afar,
Tigray, and related merge tooling (
tool/merge_*.dartplus TSV sources). - Sheger and Bishoftu (Oromia): zone
metadata.subCityPicker, woredametadata.subCity, and API helpersEthiopiaRegionsData.zoneUsesSubCityPicker,getSubCities, andgetWoredas(..., subCity:). - Tigray Eastawi: numeric tabia column stored in ids only; woreda display names omit the leading code.
- Maintainer refactor: shared
slugForIdintool/merge_common.dart; removed redundantoromia_part*.tsvsplit files.
0.1.1 #
- Document that
EthiopiaRegionsData.loadis for the Dart VM only; Flutter apps should useEthiopiaRegionsData.fromJsonStringswithrootBundle. - Example app now loads JSON via assets on all platforms (fixes Android/iOS
crash from
Isolate.resolvePackageUri).
0.1.0 #
- Initial release with
Region,Zone,Woreda, andCitymodels. - JSON-backed sample datasets and
EthiopiaRegionsDatarepository API. - Platform-aware loading via
dart:iowhere available, with in-memory injection for Flutter Web and tests.