universal_widget 1.2.2 universal_widget: ^1.2.2 copied to clipboard
A universal widget that can be placed anywhere in your widget tree, with full support of animation & accessibility.
[1.2.2] - Fixed bug #
- Fixed error:
A UniversalWidgetController was used after being disposed.
.
[1.2.0] - Big performance improvement, added #
- Performance improved much better.
- Added
widget.reset()
to reset theUniversalWidget
to the very first time it's created. - Added
widget.onEnterFrame(callback, {int fps})
andwidget.stopEnterFrame()
(OMG, this one is so much fun!). - Added
widget.toByte({pixelRatio})
,widget.toImage({pixelRatio})
,widget.toBase64({pixelRatio})
to capture the widget and convert it to image/base64/byte. - Added
UniversalChannel
to communicate betweenUniversalWidget
s (Full documentation & Examples will come later). - Fixed some minor bugs.
[1.1.2] - More features & fixed bugs. #
- Changed
onWidgetBuilt(BuildContext)
toonWidgetBuild(UniversalWitget)
. - Added
onWidgetUpdated(UniversalWidget)
. - Added
override (bool)
toupdate()
method, default value istrue
, so you can do multipleupdate()
animation at the sametime. - Added
stopAnimation()
method in case you want to stop all animations of the widget. - Added
interaction
properties to enable/disable interactivity of the widget. - Fixed losing state issue (when update widget while state hasn't been created).
- Fixed some minor bugs.
[1.1.1] - Fixed some minor bugs. #
- Update documentation.
- Added example.
[1.1.0] - Added more features & Fixed some minor bugs. #
- Updated the documentation.
- Added button mode with
onPressed
. - Added
mask
(clip) feature. - Added
update(child)
feature. - Fixed some minor bugs.
- TODO: Performance improvement.
[1.0.0] - Publish the widget. #
- TODO: Wait for the bugs?
- TODO: Performance improvement.