Important
See the Migration Guide for the details of breaking changes between versions.
- Add
Tilt.lightShadowMode
and configuration. (#12)
- Migrate from
withOpacity
towithAlpha
.
- Bump
sensors_plus
package from6.0.0
to6.1.0
. (#20) - Migrate the example to Android Studio Ladybug (JDK 21). (#19)
- Replace
Platform
(dart:io) withTargetPlatform
(flutter/foundation.dart). (#18) - Handling when the platform has no available sensors. (#18)
- Fix
Tilt.disable: true
still prevents scrolling. (#16)
- Fix
tiltConfig.enableGestureTouch
still prevents scrolling when disabled. (#15)
- Improve example (Flutter v3.24.0)
- Bump
sensors_plus
package from5.0.1
to6.0.0
.
- Improve linter.
- Upgrade
sensors_plus
package to5.0.1
. - Update Doc.
- Bumping Flutter SDK minimum version to
3.19.0
.
- Upgrade
sensors_plus
package to5.0.0
.
- dart doc.
- Add
Tilt.tiltStreamController
to provide custom control of the tilt. - Add
TiltConfig.controllerMoveDuration
,TiltConfig.controllerLeaveDuration
.
- Improve gesture priority logic.
- dart doc.
- Fix assignment usage logic in
Tilt.tiltStreamController
. - Fix
Tilt.tiltStreamController
closes prematurely. - Fix sensor listening not closed.
- Bumping Flutter SDK minimum version to
3.10.0
.
- Update Versions Compatibility. (Sensors are not supported on the web platform until Flutter version 3.10)
- Upgrade
sensors_plus
to version 4.0.2. - Improve code structure.
- Fix
onGesturesRevert
being called repeatedly after a move has ended.
- Migrate to Flutter 3.7 and drop support for previous Flutter versions.
- Upgrade sensors_plus to v4.x.x. (#6)
- Improve example (Flutter v3.16.0)
- Improve high energy impact.
- Update the example to Flutter 3.16.0 and use Material3.
- Add spreadFactor to LightConfig.
- Fix undetermined mounted.
- Fix device orientation does not match sensor orientation.
- Improve README docs
- Upgrade
sensors_plus
to version 3.1.0
- Improve light above
childLayout.inner
.
- Fix incorrect initialization sizes in some cases (e.g. image with unspecified sizes).
- Improve code structure.
- Fix tapping on content causes tilt when
enableRevert
orenableSensorRevert
is false.
- Fix device landscape mode not match sensor orientation.
- Config copyWith().
- Fix initial has no effect.
- 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,)
.
- Add sensor gesture (configuration:
enableGestureSensors
,sensorFactor
,enableSensorRevert
,sensorRevertFactor
,sensorMoveDuration
), default configuration isTiltConfig(enableGestureSensors = true)
. - Add touch gesture configuration, default is
TiltConfig(enableGestureTouch = true)
.
- Gesture optimization.
- Fix
TiltConfig(enableReverse: true)
is not used inTiltParallax
. - Fix fps timer not canceled.
- Update
FilterQuality
parameter ofTilt
andTiltParallax
widgets isnull
by default. - Upgrade Example of Flutter to 3.13.0
- Doc
- Doc
- Test coverage 100%.
- Fix
constraintsPosition
min value is wrong. - Fix
TiltParallax
widget not followingTilt
widget.
- Fix trigger touch and hover at the same time.
- The
childInner
parameter of theTilt widget
has been changed tochildLayout.outer
.
- Add
Tilt
widgetchildLayout
parameter with multiple layouts.
- Add
border
toTilt
widget. - Add animate
moveDuration
,leaveDuration
,moveCurve
,leaveCurve
toTiltConfig
.
- Add
GesturesType
toonGestureMove
andonGestureLeave
.
- Update the trigger of
onGestureLeave
whenTiltConfig.enableRevert = false
. - Update
TiltConfig.enableRevert
.
- Fix
areaProgress
changing after resize.
- Docs
- Remove
onTiltBegin
,onTiltEnd
and addtiltDataModel
callback values toonGestureMove
,onGestureLeave
.
- Fix can't change parameters.
- Fix
Tilt.childInner
is removed whenTilt.disable
is used.
- Fix
onGestureLeave
trigger whenTiltConfig.enableMouseHover = false
.
- Fix code for
analysis_options
warnings. - Remove
TiltDirection
invalidtopBottom
andleftRight
.
Tilt
widget supportsonTiltBegin
,onTiltEnd
,onGestureMove
,onGestureLeave
.- Upgrade
example
Flutter 3.10.6.
- Docs
- Initial