kenya_county_picker 0.0.2 copy "kenya_county_picker: ^0.0.2" to clipboard
kenya_county_picker: ^0.0.2 copied to clipboard

A new Flutter package for picking kenyan counties.

Kenya_county_picker #

Flutter package that easily picks a kenyan county.

Getting started #

In your library add the following import:

import 'package:kenya_county_picker/kenya_county_picker.dart';

Define this function

 void _onCountySelected(String county) {
    print('Selected county: $county');
  }

Then you just need to use the widget KenyaCountyPicker

 body: Center(
        child: KenyaCountyPicker(
          onCountySelected: _onCountySelected,
        ),
      ),

Simply use the selected county

Contributions #

Feel free to contribute to this project.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a feature, please send a pull request.

4
likes
130
pub points
12%
popularity

Publisher

unverified uploader

A new Flutter package for picking kenyan counties.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSL-1.0 (license)

Dependencies

flutter

More

Packages that depend on kenya_county_picker