flutter_tilt 3.3.2
flutter_tilt: ^3.3.2 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 Guides for the details of breaking changes between versions.
3.3.2 #
Improvements
- Bump
sensors_plus
package to'>=6.1.0 <8.0.0'
.
3.3.1 #
Improvements
- Reduce unnecessary animation controllers (multiple
TiltParallax
widgets share the same controller). (#30)
3.3.0 #
New features
-
By default, add a smooth transition effect when gestures (hover and touch) enter. (#29)
- Configurable via:
TiltConfig.enterDuration
TiltConfig.moveDuration
TiltConfig.enterToMoveDuration
TiltConfig.enterToMoveCurve
If you prefer to disable this effect:
Tilt( tiltConfig: TiltConfig( enterToMoveDuration: Duration.zero, ... ) ... )
- Configurable via:
3.2.3 #
3.2.2 #
Improvements
- Update example and docs.
3.2.0 #
New features
- Add
Tilt.lightShadowMode
and configuration. (#12)
Improvements
- Migrate from
withOpacity
towithAlpha
.
3.1.0 #
3.0.6 #
3.0.4 #
Fixes
- Fix
tiltConfig.enableGestureTouch
still prevents scrolling when disabled. (#15)
Improvements
- Improve example (Flutter v3.24.0)
3.0.3 #
Improvements
- Bump
sensors_plus
package from5.0.1
to6.0.0
.
3.0.2 #
Improvements
- Improve linter.
3.0.1 #
Improvements
- Upgrade
sensors_plus
package to5.0.1
. - Update Doc.
3.0.0 #
Breaking changes
- Bumping Flutter SDK minimum version to
3.19.0
.
Improvements
- Upgrade
sensors_plus
package to5.0.0
.
2.4.1 #
Improvements
- dart doc.
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 #
Breaking changes
- Bumping Flutter SDK minimum version to
3.10.0
.
Improvements
- Update Versions Compatibility. (Sensors are not supported on the web platform until Flutter version 3.10)
2.2.1 #
Improvements
- Upgrade
sensors_plus
to version 4.0.2. - Improve code structure.
Fixes
- Fix
onGesturesRevert
being called repeatedly after a move has ended.
2.2.0 #
Breaking changes
- Migrate to Flutter 3.7 and drop support for previous Flutter versions.
- Upgrade sensors_plus to v4.x.x. (#6)
Improvements
- Improve example (Flutter v3.16.0)
2.1.2 #
Improvements
- Improve high energy impact.
2.1.1 #
Improvements
- Update the example to Flutter 3.16.0 and use Material3.
2.1.0 #
New features
- Add spreadFactor to LightConfig.
2.0.10 #
Fixes
- Fix undetermined mounted.
2.0.9 #
Fixes
- Fix device orientation does not match sensor orientation.
2.0.8 #
Improvements
- Improve README docs
2.0.7 #
Improvements
- Upgrade
sensors_plus
to version 3.1.0
2.0.6 #
Improvements
- Improve light above
childLayout.inner
.
Fixes
- Fix incorrect initialization sizes in some cases (e.g. image with unspecified sizes).
2.0.5 #
Improvements
- Improve code structure.
2.0.4 #
Fixes
- Fix tapping on content causes tilt when
enableRevert
orenableSensorRevert
is false.
2.0.3 #
Fixes
- Fix device landscape mode not match sensor orientation.
2.0.2 #
Improvements
- Config copyWith().
2.0.1 #
Fixes
- Fix initial has no effect.
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
1.0.0 #
Improvements
- Test coverage 100%.
0.1.2 #
Fixes
- Fix
constraintsPosition
min value is wrong. - Fix
TiltParallax
widget not followingTilt
widget.
0.1.1 #
Fixes
- Fix trigger touch and hover at the same time.
0.1.0 #
Breaking changes
- The
childInner
parameter of theTilt widget
has been changed tochildLayout.outer
.
New features
- Add
Tilt
widgetchildLayout
parameter with multiple layouts.
0.0.9 #
New features
- Add
border
toTilt
widget. - Add animate
moveDuration
,leaveDuration
,moveCurve
,leaveCurve
toTiltConfig
.
0.0.8 #
New features
- Add
GesturesType
toonGestureMove
andonGestureLeave
.
Improvements
- Update the trigger of
onGestureLeave
whenTiltConfig.enableRevert = false
. - Update
TiltConfig.enableRevert
.
Fixes
- Fix
areaProgress
changing after resize.
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.3 #
Fixes
- Fix
onGestureLeave
trigger whenTiltConfig.enableMouseHover = false
.
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 #
- Init