mn_loc 1.0.4 copy "mn_loc: ^1.0.4" to clipboard
mn_loc: ^1.0.4 copied to clipboard

A Flutter package for 3-level dependent dropdowns (District -> Subdivision -> Circle) loaded directly from JSON data.

CHANGELOG #

1.0.3 #

  • Upgraded go_router dependency to ^16.2.5 for full compatibility with modern Flutter and GoRouter v16+.
  • Added unit test suite covering AppRouter configuration and LocationDropdownProvider state management.
  • Comprehensive documentation updates.

1.0.2 #

  • Added selectByIds() and setInitialSelection() methods to LocationDropdownProvider for pre-selecting location items by ID.
  • Added initialDistrictId, initialSubdivisionId, and initialCircleId parameters to initialize() for effortless pre-filled form initializations.

1.0.1 #

  • Updated JSON location datasets to real Manipur administrative data (16 Districts, 68 Subdivisions, 88 Revenue Circles).
  • Replaced deprecated value parameter in dropdown form fields with initialValue and ValueKey for full Flutter 3.33+ compatibility.

1.0.0 #

  • Initial release of mn_loc package.
  • 3-Level Dependent Dropdown support (District -> Subdivision -> Circle).
  • Standalone Individual Unwrapped Widgets: DistrictDropdown, SubdivisionDropdown, and CircleDropdown.
  • Asset Data Loading: Parsed directly from district.json, subdivision.json, and circle.json.
  • State Management: Built with Provider (LocationDropdownProvider).
  • Material 3 Design compatibility and custom styling options.
0
likes
125
points
21
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for 3-level dependent dropdowns (District -> Subdivision -> Circle) loaded directly from JSON data.

Repository (GitHub)
View/report issues

Topics

#dropdown #dependent-dropdown #location #json #provider

License

unknown (license)

Dependencies

dio, flutter, go_router, google_fonts, provider

More

Packages that depend on mn_loc