flutter_touch_scale 1.2.0
flutter_touch_scale: ^1.2.0 copied to clipboard
This Flutter package delivers clear visual feedback through scale animations on user touch interactions.
1.0.2 #
- Added
TouchScaleCallPhaseenumeration to define the phase in which a touch scale callback is triggered.onAccepted: Sets the phase when the gesture is accepted, regardless of whether the animation starts.onScaleDownEnd: Sets the phase when the scale-down animation has completed.onScaleUpEnd: Sets the phase when the scale-up animation has completed.
1.1.0 #
-
Added
TouchScaleBehaviorto allow applying additional visual effects alongside the touch scaling interaction, such as opacity or shadow changes. -
Modified
reverseDurationfrom 300ms to 250ms to create a more natural scale-up animation.
1.1.1 #
- Modified the default hit test behavior from
deferToChildtoopaqueinTouchScaleGestureDetector.
1.2.0 #
-
Modifyed the default
previewDurationfrom 25ms to 50ms. -
Added
TouchScaleResolverclass to provide customizable touch-based scaling for widgets. -
Added
DrivenTouchScaleBehaviorclass that wraps child widgets withRepaintBoundaryto improve rendering performance.