Skip to content
pubscout

nigerian_states_and_lga

1.0.0, released 4 years ago by an unverified publisher

Provides a list of all Nigerian states and local government areas.

WASM-ready
$ flutter pub add nigerian_states_and_lga
Source repository

What it does

A package that helps provide a full list of Nigerian states and local governments. It offers functionality to retrieve all states, all local governments, or local governments per specific state.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to populate dropdowns or lists with Nigerian states and local governments
  • Building applications targeted at Nigerian users that require state and LGA selection

Skip it when

  • You need geographic mapping, geolocation, or boundary mapping
  • You require data for countries other than Nigeria

Strengths

  • Simple and straightforward API for fetching states and LGAs
  • Easy integration with Flutter widgets like DropdownButton

Weaknesses

  • Limited to Nigeria only
  • Static list of data without built-in advanced search or filtering methods

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Not documented

List<String> states = NigerianStatesAndLGA.allStates;

Alternatives

Packages that do the same job and could replace nigerian_states_and_lga.