motion 1.1.1
motion: ^1.1.1 copied to clipboard
A fancy Widget that applies a gyroscope-based motion effect to its child.
1.1.1 #
- Ignore pointer on both the glare and shadow effects to allow user input on the widget.
- The glare effect's gradient now rotates from left to right, instead of bottomRight to topRight.
1.1.0 #
- Made the [controller] parameter optional in the wiget's constructor.
- Provide a [MotionController.defaultController] to use when no customization is required.
- Added a [Motion.only] constructor to disable all effects by default.
- Added support for desktop mouses using [MouseRegion] and [Listener].
- Added dynamic translation effect.
1.0.1 #
- Minor package hygiene improvements.
1.0.0 #
- Initial release with 'Motion' widget and 'MotionController'.
- Supports setting a custom elevation