bond_form 0.0.1+4 bond_form: ^0.0.1+4 copied to clipboard
Form is a Bond package provides a convenient way to handle Form.
Basic usage:
final loginForm = FormStateNotifier<String, Error>(
fields: {
'email': TextFieldState(null, label: 'Email'),
'password': TextFieldState(null, label: 'Password'),
},
);
// Updating a form field
loginForm.update('email', 'johndoe@gmail.com');
// Submitting the form
loginForm.submit();
Documentation #
For a comprehensive guide on how to use form_bond
, please refer to the full documentation available in the bond_docs
repository under the forms.md
file.