go_form 0.2.3 copy "go_form: ^0.2.3" to clipboard
go_form: ^0.2.3 copied to clipboard

A generic controller for managing state and validation of input fields in Flutter. Supports initial value, validation, errors, and focus.

[0.2.3] - 2024-12-04 #

Fixes #

  • Fixed issue with initialValue in the widget.

[0.2.2] - 2024-12-04 #

Fixes #

  • Fixed the "name field is already in use" issue.
  • Disabled protection against duplicate field creation.

[0.2.1] - 2024-12-04 #

Fixes #

  • Fixed form reset issue.
  • Fixed field data retrieval issue.

[0.2.0] - 2024-12-02 #

Added #

  • Listener support: Introduced the ability to add, remove, and check listeners for FieldController and FormController.
    • New methods in FormController:
      • addListener(String name, VoidCallback listener): Attach a listener to a specific field.
      • removeListener(String name, VoidCallback listener): Detach a listener from a specific field.
      • hasListener(String name): Check if a field has listeners attached.
    • Enhancements to FieldController:
      • Stores and triggers custom listeners on value changes.
      • Exposes hasListeners to check if listeners are registered.

[0.1.1] - 2024-11-22 #

Fixed #

  • Fixed an issue with generic type mismatch causing override errors in FormFieldModelBase.build.

0.1.0 #

  • Added FieldController for form field state management.
  • Support for TextFormField synchronization via TextEditingController.
  • Added setValue method to FieldController for programmatically updating field values.
  • Built-in validation and error handling.

0.0.2 #

  • Initial release of the go_form plugin.

0.0.1 #

  • Initial release of the go_form plugin.
  • Key features:
    • Form controller
1
likes
130
points
401
downloads

Publisher

unverified uploader

Weekly Downloads

A generic controller for managing state and validation of input fields in Flutter. Supports initial value, validation, errors, and focus.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on go_form