Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

Repository files navigation

flutter_state_example

A very basic flutter app that shows various methods of state management used with Forms

State Examples

  • Forms
    • includes: activating validation after initial submit
  • OnChangedFormFields
    • uses only fiels with initialValue and onChanged()
    • includes: interfield validation
  • Provider
    • includes: activating validation after initial submit
  • Cubit (bloc)
    • includes: activating validation after initial submit
  • RiverPod
    • includes: activating validation after initial submit

Getting Started

fvm use 3.3.8

launch.json has a configuration for each State System.

ToDo

  1. Inter-field validation
  2. Form validation message
  3. Focus to first field that is invalid after click on button
  4. Form Type: Save to app state on submit if form is valid
  5. Form Type: Save to app state once field is valid (auto save, no same or submit button)
  6. Add unit testing

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages