This package could be useful if you want to create or edit an event, for example. I personally use it in combination with the easy_calendar package I created to do exactly that.

I can specify the fields and let the inner workings of this package give me a way to tell each "form field" (quotes, because it is not a real form in flutter terms) how to load the initial value from the initial object and also how to save the changed values back into the object.

I can also handle the unsaved changes by showing a pop-up prompting the user to keep editing and try to save or discard the changes made.

Features

  • Initial data loading
  • Custom validation functions before submitting
  • Custom error messages
  • Custom tooltips
  • Subtasks (to before or after submitting the changes; I use this to save tasks that are associated with the event the user created, after the even has been saved for example)

Getting started

Since this is not a real package yet, I am unsure about how to get started using it, but you can check this out in the example later.

Usage

Check the example for a simple and an advanced version of what you can do.

Additional information

I created this package mainly for my own purposes, but if you have a nice idea that might also benefit other users, feel free to open a MR.

Libraries

easy_entity_editor
Support for doing something awesome.