model_editors 0.4.3 copy "model_editors: ^0.4.3" to clipboard
model_editors: ^0.4.3 copied to clipboard

Editors for complex models and lists inspired by simplicity of TextEditingController, without manual state management.

0.4.3 #

  • Add ControllerWidget interface.

0.4.2 #

  • Added MaterialCheckbox, MaterialCheckboxWithText.
  • Exported CapsuleWidget.

0.4.1 #

  • Added AnimatedBuilder into EnumDropdownButton.

0.4.0 #

  • BREAKING: Changed the signature of ModelViewOrEditRawWidget callbacks.
  • CollectionEditingController.addEmpty, ListEditingController.add, and MapEditingController.add now return the added controller.
  • Added MapEditingController.keys getter.
  • Added CollectionAddButtonBuilder.isEnabled callback to override the default check of item count.
  • Added FixedHeaderWidget.
  • Fixed EditorController.save() not rethrowing a throwable after printing it.
  • Fixed the direction of an arrow on DefaultDeleteThisAndAfterButton.

0.3.1 #

  • Added ReorderableCollectionEditor.showDeleteThisAndAfterButtons, DefaultDeleteThisAndAfterButton.

0.3.0 #

  • BREAKING: Renamed AbstractListEditingController to ListEditingController, changed its abstract createController method to a property.
  • BREAKING: Deleted ListEditingController.sortValues. Add some kind of sortedValue if needed.
  • BREAKING: ReorderableListViewEditor renamed to ReorderableCollectionEditor.
  • BREAKING: ListAddButtonBuilder renamed to CollectionAddButtonBuilder.
  • BREAKING: Require Dart 2.17 & Flutter 3.0.
  • Added the abstract CollectionEditingController.
  • Added MapEditingController, ReorderableMapEditor.
  • Added CollectionEditingController.isReorderable, defaults to true.
  • Added ModelViewOrEditWidget, ModelViewOrEditRawWidget.
  • Added EnumDropdownButton.
  • Added DefaultAddButton.
  • CollectionAddButtonBuilder.enabledBuilder is optional and defaults to DefaultAddButton.

0.2.0 #

  • BREAKING: AbstractListEditingController requires non-null value.
  • Re-licensed under MIT No Contribution.
  • Uses total_lints.

0.1.6 #

0.1.5 #

  • Add WrapListEditor widget.

0.1.4 #

  • Add AbstractListEditingController.notifyOnItemChanges.
  • In AbstractListEditingController, fire notifyChanges() on item changes by default.

0.1.3 #

In ReorderableListViewEditor:

  • Use NeverScrollableScrollPhysics if shrinkWrap == true.
  • Change mouse cursor over drag handles.
  • Hide drag handle for less than two items.

0.1.2 #

  • BREAKING: Renamed AbstractListEditingController.nonNullItems to nonNullValues.

0.1.1 #

  • Added code docs.
  • BREAKING: AbstractListEditingController.minLength is non-null.

0.1.0 #

  • Initial release.
21
likes
150
points
99
downloads

Publisher

verified publisherainkin.com

Weekly Downloads

Editors for complex models and lists inspired by simplicity of TextEditingController, without manual state management.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT-0 (license)

Dependencies

flutter, model_interfaces

More

Packages that depend on model_editors