philippines_rpcmb

Last updated:

0 purchases

philippines_rpcmb Image
philippines_rpcmb Images
Add to Cart

Description:

philippines rpcmb

A Flutter widgets that show List of Philippine Regions, Provinces, Cities, Municipalities, and Barangays
Usage #
Please check /example folder.
Philippine Regions can be access directly via
import 'package:philippines_rpcmb/philippines_rpcmb.dart';

philippineRegions;
copied to clipboard
Display dropdown list of Philippine regions
PhilippineRegionDropdownView(
onChanged: (Region? value) {
setState(() {
if (region != value) {
province = null;
municipality = null;
barangay = null;
}
region = value;
});
},
value: region,
)
copied to clipboard
Province
PhilippineProvinceDropdownView(
provinces: region?.provinces ?? [],
onChanged: (Province? value) {
setState(() {
if (province != value) {
municipality = null;
barangay = null;
}
province = value;
});
},
value: province,
)

copied to clipboard
Municipalities
PhilippineMunicipalityDropdownView(
municipalities: province?.municipalities ?? [],
onChanged: (value) {
setState(() {
if (municipality != value) {
barangay = null;
}
municipality = value;
});
},
value: municipality,
)

copied to clipboard
Barangays
PhilippineBarangayDropdownView(
barangays: municipality?.barangays ?? [],
onChanged: (value) {
setState(() {
barangay = value;
});
})

copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.