Zefyr Changelog
0.8.0
Updated to support Flutter 1.9.0 (#154)
0.7.0
This release contains breaking changes.
Breaking change:
ZefyrEditor.enabled
field replaced byZefyrEditor.mode
which can take one of three default values:ZefyrMode.edit
: the same asenabled: true
, all editing controls are available to the userZefyrMode.select
: user can't modify text itself, but allowed to select it and optionally apply formatting.ZefyrMode.view
: the same asenabled: false
, read-only.
Added optional
selectionControls
field toZefyrEditor
andZefyrEditableText
. If not provided then by default uses platform-specific implementation.Added support for "selectAll" action in selection toolbar.
Breaking change: removed
ZefyrDefaultImageDelegate
as well as dependency onimage_picker
plugin. Users are required to provide their own implementation. If image delegate is not provided then image toolbar button is disabled.Breaking change: added
ZefyrImageDelegate.cameraSource
andZefyrImageDelegate.gallerySource
fields. For users ofimage_picker
plugin these should returnImageSource.camera
andImageSource.gallery
respectively. See documentation on implementing image support for more details.
0.6.1
Relaxed dependency constraint on
image_picker
library to allow latest version. Note thatZefyr 0.7 will stop depending on
image_picker
and introduce some breaking changes, which willbe described here when 0.7 is released.
0.6.0
Updated to support Flutter 1.7.8
0.5.0
Updated to support Flutter 1.2
Experimental: Added non-scrollable
ZefyrView
widget which allows previewing Notus documents inside layouts using their own scrollables like ListView.Breaking change: renamed
EditableRichText
toZefyrRichText
. User code is unlikely to be affected unless you've extended Zefyr with custom implementations of block widgets.Breaking change: renamed
RenderEditableParagraph
toRenderZefyrParagraph
. User code is unlikely to be affected unless you've extended Zefyr with custom implementations of block widgets.Added
ZefyrScope
class - replaces previously used scope objectsZefyrEditableTextScope
andZefyrEditorScope
. Unified all shared resources under one class.Breaking change: removed
ZefyrEditor.of
andZefyrEditableText.of
static methods. UseZefyrScope.of
instead.
0.4.0
Breaking change: upgraded
image_picker
to^0.5.0
andurl_launcher
to^5.0.0
which requires migration to Android X. You must migrate your app in order to use this version. For details on how to migrate see:
0.3.1
Fixed autofocus not being triggered when set to
true
for the first time.Allow customizing cursor color via ZefyrTheme.
0.3.0
This version introduces new widget ZefyrScaffold
which allows embedding Zefyr in custom layouts, like forms with multiple input fields.
It is now required to always wrap ZefyrEditor
with an instance of this new widget. See examples and readme for more details.
There is also new ZefyrField
widget which integrates Zefyr with material design decorations.
Breaking change:
ZefyrEditor
requires an ancestorZefyrScaffold
.Upgraded to
url_launcher
version 4.0.0.Exposed
ZefyrEditor.physics
property to allow customization ofScrollPhysics
.Added basic
ZefyrField
widget with material design decorations.
0.2.0
Breaking change:
ZefyrImageDelegate.createImageProvider
replaced withZefyrImageDelegate.buildImage
.Fixed redundant updates on composing range for Android.
Added TextCapitalization.sentences
Added docs for embedding images.
0.1.2
Fixed analysis warnings.
UX: User taps on padding area around the editor and in empty space inside it now look for the nearest paragraph to move caret to.
UX: Toggle selection toolbar on double tap instead of refreshing it.
0.1.1
Fixed: Prevent sending excessive value updates to the native side
which cause race conditions (#12).
0.1.0
Initial release.
Last updated