Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 930 Bytes

File metadata and controls

18 lines (16 loc) · 930 Bytes

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.