flutter_touch_scale 1.2.3 copy "flutter_touch_scale: ^1.2.3" to clipboard
flutter_touch_scale: ^1.2.3 copied to clipboard

This Flutter package delivers clear visual feedback through scale animations on user touch interactions.

1.0.2 #

  • Added TouchScaleCallPhase enumeration 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 TouchScaleBehavior to allow applying additional visual effects alongside the touch scaling interaction, such as opacity or shadow changes.

  • Modified reverseDuration from 300ms to 250ms to create a more natural scale-up animation.

1.1.1 #

  • Modified the default hit test behavior from deferToChild to opaque in TouchScaleGestureDetector.

1.2.0 #

  • Modifyed the default previewDuration from 25ms to 50ms.

  • Added TouchScaleResolver class to provide customizable touch-based scaling for widgets.

  • Added DrivenTouchScaleBehavior class that wraps child widgets with RepaintBoundary to improve rendering performance.

1.2.2 #

  • Fixed an issue about the dependency.

1.2.3 #

  • Fixed an issue where removeListener was called after disposal, causing the effect not to apply.
3
likes
150
points
245
downloads

Publisher

verified publisherttangkong.dev

Weekly Downloads

This Flutter package delivers clear visual feedback through scale animations on user touch interactions.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_touch_scale