this package provides controllers and editors for complex models and lists
and is inspired by simplicity of texteditingcontroller
.
it encapsulates state management so you don’t have to do a single setstate(){}
.
see the example on how to create an editor like this:
this package provides the following controllers:
abstractlisteditingcontroller
which is avaluenotifier
oflist<t?>
.
it takes care for adding, deleting and reordering of list items.
just initialize it with a list of your models and then read the edited list.checkboxgroupeditingcontroller
which is avaluenotifier
oflist<t>
.
it takes care for storing multiple values according to the user checking
and unchecking individual boxes.
this package provides the following widgets which use the mentioned controllers:
columnlisteditor
which shows individual editors and allows to delete them.reorderablelistvieweditor
which also allows reordering.materialcheckboxcolumn
which shows a checkbox group in a column.
a few widgets and controllers that are not mentioned here are experimental
and not recommended for use.
additional information
the controllers in this package are pretty stable and are intended for public use.
the widgets on the other hand are mostly ad-hoc and are in development.
they lack many properties and customization.
if you wish to help, file an issue with your idea before contributing,
and i will see how to incorporate it.
Comments are closed.