form_builder_thai_provinces 0.1.0 copy "form_builder_thai_provinces: ^0.1.0" to clipboard
form_builder_thai_provinces: ^0.1.0 copied to clipboard

A flutter_form_builder field for picking a Thai province/district/subdistrict address (cascading dropdowns or type-ahead), with two-way value sync.

0.1.0 #

Initial release.

  • FormBuilderThaiAddress — a flutter_form_builder field (FormBuilderField<ThaiAddressSelection>) for picking a Thai province/district/subdistrict address.
  • FormBuilderThaiAddressMode — choose the inner UI: cascading (province → district → subdistrict dropdowns, with an optional read-only postcode field) or autocomplete (a single type-ahead field).
  • Two-way value sync with the FormBuilder: saveAndValidate(), patchValue(), reset() and fields['name'].value all work, and the current validation error is surfaced in the field.
  • Re-exports package:thai_provinces_flutter/thai_provinces_flutter.dart for a single-import experience (ThaiAddressSelection, ThaiAddressController, ThaiAddressLanguage, ThaiAddressValidators, …).
  • Carries the flutter_form_builder dependency so the core thai_provinces_flutter package stays dependency-free.
0
likes
160
points
93
downloads

Documentation

API reference

Publisher

verified publisher10v3n4m.cc

Weekly Downloads

A flutter_form_builder field for picking a Thai province/district/subdistrict address (cascading dropdowns or type-ahead), with two-way value sync.

Repository (GitHub)
View/report issues

Topics

#thai #address #flutter-form-builder #form #thailand

License

MIT (license)

Dependencies

flutter, flutter_form_builder, thai_provinces_flutter

More

Packages that depend on form_builder_thai_provinces