model_editors 0.4.3
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
ControllerWidgetinterface.
0.4.2 #
- Added
MaterialCheckbox,MaterialCheckboxWithText. - Exported
CapsuleWidget.
0.4.1 #
- Added
AnimatedBuilderintoEnumDropdownButton.
0.4.0 #
- BREAKING: Changed the signature of
ModelViewOrEditRawWidgetcallbacks. CollectionEditingController.addEmpty,ListEditingController.add, andMapEditingController.addnow return the added controller.- Added
MapEditingController.keysgetter. - Added
CollectionAddButtonBuilder.isEnabledcallback 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
AbstractListEditingControllertoListEditingController, changed its abstractcreateControllermethod to a property. - BREAKING: Deleted
ListEditingController.sortValues. Add some kind ofsortedValueif needed. - BREAKING:
ReorderableListViewEditorrenamed toReorderableCollectionEditor. - BREAKING:
ListAddButtonBuilderrenamed toCollectionAddButtonBuilder. - BREAKING: Require Dart 2.17 & Flutter 3.0.
- Added the abstract
CollectionEditingController. - Added
MapEditingController,ReorderableMapEditor. - Added
CollectionEditingController.isReorderable, defaults totrue. - Added
ModelViewOrEditWidget,ModelViewOrEditRawWidget. - Added
EnumDropdownButton. - Added
DefaultAddButton. CollectionAddButtonBuilder.enabledBuilderis optional and defaults toDefaultAddButton.
0.2.0 #
- BREAKING:
AbstractListEditingControllerrequires non-nullvalue. - Re-licensed under MIT No Contribution.
- Uses
total_lints.
0.1.6 #
- Add
ReorderableListViewEditor.itemWrapperas a workaround for https://github.com/flutter/flutter/issues/88570.
0.1.5 #
- Add
WrapListEditorwidget.
0.1.4 #
- Add
AbstractListEditingController.notifyOnItemChanges. - In
AbstractListEditingController, firenotifyChanges()on item changes by default.
0.1.3 #
In ReorderableListViewEditor:
- Use
NeverScrollableScrollPhysicsifshrinkWrap == true. - Change mouse cursor over drag handles.
- Hide drag handle for less than two items.
0.1.2 #
- BREAKING: Renamed
AbstractListEditingController.nonNullItemstononNullValues.
0.1.1 #
- Added code docs.
- BREAKING:
AbstractListEditingController.minLengthis non-null.
0.1.0 #
- Initial release.