form_builder_thai_provinces 0.1.0
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— aflutter_form_builderfield (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) orautocomplete(a single type-ahead field).- Two-way value sync with the
FormBuilder:saveAndValidate(),patchValue(),reset()andfields['name'].valueall work, and the current validation error is surfaced in the field. - Re-exports
package:thai_provinces_flutter/thai_provinces_flutter.dartfor a single-import experience (ThaiAddressSelection,ThaiAddressController,ThaiAddressLanguage,ThaiAddressValidators, …). - Carries the
flutter_form_builderdependency so the corethai_provinces_flutterpackage stays dependency-free.