Skip to content

Commit

Permalink
#1 Update version to 2.2.32
Browse files Browse the repository at this point in the history
  • Loading branch information
MTtankkeo committed Nov 27, 2024
1 parent add34c8 commit 9e735a0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
## 2.2.2
* Fixed an issue about [issues/1](https://github.com/MTtankkeo/flutter_touch_ripple/issues/1) for the null-safety exception about RenderBox reference.

## 2.2.3 ~ 2.2.31
## 2.2.3 ~ 2.2.32
* Fixed an issue related to [issues/1](https://github.com/MTtankkeo/flutter_touch_ripple/issues/1) for the 'Null check operator used on a null value' exception by adopting a verification approach to ensure necessary instances are initialized.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<thead>
<tr>
<th>Version</th>
<th>v2.2.31</th>
<th>v2.2.32</th>
</tr>
</tbody>
</table>
Expand Down
4 changes: 2 additions & 2 deletions lib/components/touch_ripple_gesture_recognizer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ abstract class TouchRippleGestureRecognizer extends OneSequenceGestureRecognizer
/// Returns whether to reject the gesture based on the given pointer offset.
bool rejectByOffset(Offset offset) {
if (context.rejectBehavior == TouchRippleRejectBehavior.none) return false;
if (context.rejectBehavior == TouchRippleRejectBehavior.leave && _renderBox != null) {
return !_renderBox!.hitTest(BoxHitTestResult(), position: offset);
if (context.rejectBehavior == TouchRippleRejectBehavior.leave) {
return _renderBox?.hitTest(BoxHitTestResult(), position: offset) ?? true;
}

// is TouchRippleCancalBehavior.touchSlop
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: flutter_touch_ripple
description: >
This flutter package is customizable touch ripple effect widget for flutter,
very flexible and performant, providing smooth touch effect animations.
version: 2.2.31
version: 2.2.32
publisher: ttankkeo112@gmail.com
repository: https://github.com/MTtankkeo/flutter_touch_ripple

Expand Down

0 comments on commit 9e735a0

Please sign in to comment.