flutter_tilt 3.1.0 flutter_tilt: ^3.1.0 copied to clipboard
Easily apply tilt parallax hover effects for Flutter, which supports tilt, light, shadow effects, gyroscope sensors and many custom parameters.
Changelog #
Important
See the Migration Guide for the details of breaking changes between versions.
3.1.0 #
3.0.6 #
3.0.4 #
3.0.0 #
2.4.0 #
New features #
- Add
Tilt.tiltStreamController
to provide custom control of the tilt. - Add
TiltConfig.controllerMoveDuration
,TiltConfig.controllerLeaveDuration
.
Improvements #
- Improve gesture priority logic.
- dart doc.
Fixes #
- Fix assignment usage logic in
Tilt.tiltStreamController
. - Fix
Tilt.tiltStreamController
closes prematurely. - Fix sensor listening not closed.
2.3.0 #
2.2.1 #
2.2.0 #
2.0.6 #
2.0.4 #
Fixes #
- Fix tapping on content causes tilt when
enableRevert
orenableSensorRevert
is false.
2.0.0 #
Breaking changes #
- Bumping Flutter SDK minimum version to
3.3.0
. - Changed
enableMouseHover
inTiltConfig
toenableGestureHover
. - To keep the tilt, you need to configure
TiltConfig(enableRevert: false, enableSensorRevert: false,)
.
New features #
- Add sensor gesture (configuration:
enableGestureSensors
,sensorFactor
,enableSensorRevert
,sensorRevertFactor
,sensorMoveDuration
), default configuration isTiltConfig(enableGestureSensors = true)
. - Add touch gesture configuration, default is
TiltConfig(enableGestureTouch = true)
.
Improvements #
- Gesture optimization.
1.0.4 #
Fixes #
- Fix
TiltConfig(enableReverse: true)
is not used inTiltParallax
. - Fix fps timer not canceled.
1.0.3 #
Improvements #
- Update
FilterQuality
parameter ofTilt
andTiltParallax
widgets isnull
by default. - Upgrade Example of Flutter to 3.13.0
1.0.2 #
- Doc
1.0.1 #
- Doc
0.1.2 #
Fixes #
- Fix
constraintsPosition
min value is wrong. - Fix
TiltParallax
widget not followingTilt
widget.
0.1.0 #
0.0.9 #
New features #
- Add
border
toTilt
widget. - Add animate
moveDuration
,leaveDuration
,moveCurve
,leaveCurve
toTiltConfig
.
0.0.8 #
0.0.7 #
- Docs
0.0.6 #
Fixes #
- Remove
onTiltBegin
,onTiltEnd
and addtiltDataModel
callback values toonGestureMove
,onGestureLeave
.
0.0.5 #
Fixes #
- Fix can't change parameters.
- Fix
Tilt.childInner
is removed whenTilt.disable
is used.
0.0.2 #
Fixes #
- Fix code for
analysis_options
warnings. - Remove
TiltDirection
invalidtopBottom
andleftRight
.
0.0.1 #
New features #
Tilt
widget supportsonTiltBegin
,onTiltEnd
,onGestureMove
,onGestureLeave
.- Upgrade
example
Flutter 3.10.6.
0.0.1-dev.1 #
- Docs
0.0.1-dev.0 #
- Initial