Skip to content

Commit 547fb69

Browse files
version 1.3.1
1 parent ede94c4 commit 547fb69

5 files changed

Lines changed: 8 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.3.1
2+
- Adds animationBehavior: AnimationBehavior.preserve. [#224](https://github.com/RafaelBarbosatec/tutorial_coach_mark/issues/224)
3+
- Adds `disableBackButton` default false.
4+
15
# 1.3.0
26
- Hidden view, allowing you to block backspace while in the tutorial [#213](https://github.com/RafaelBarbosatec/tutorial_coach_mark/pull/213) by [AngelMinga](https://github.com/AngelMinga)
37

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ void showTutorial() {
4242
// clickTarget: (TargetFocus) {},
4343
// onClickTargetWithTapPosition: (TargetFocus, TapDownDetails) {},
4444
// clickOverlay: (TargetFocus) {},
45+
// disableBackButton: false // If true disable native back button.
4546
onFinish: (){
4647
print("finish");
4748
},

lib/src/widgets/animated_focus_light.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ abstract class AnimatedFocusLightState extends State<AnimatedFocusLight>
107107
_controller = AnimationController(
108108
vsync: this,
109109
duration: focusDuration,
110+
animationBehavior: AnimationBehavior.preserve,
110111
)..addStatusListener(_listener);
111112

112113
_curvedAnimation = CurvedAnimation(

lib/tutorial_coach_mark.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class TutorialCoachMark {
104104
this.imageFilter,
105105
this.initialFocus = 0,
106106
this.backgroundSemanticLabel,
107-
this.disableBackButton = true,
107+
this.disableBackButton = false,
108108
}) : assert(opacityShadow >= 0 && opacityShadow <= 1);
109109

110110
OverlayEntry _buildOverlay({bool rootOverlay = false}) {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: tutorial_coach_mark
22
description: Guide that helps you to present your app and its features in a beautiful, simple and customizable way. Tutorial | Guide | Coach.
3-
version: 1.3.0
3+
version: 1.3.1
44
homepage: https://github.com/RafaelBarbosatec/tutorial_coach_mark
55

66
environment:

0 commit comments

Comments
 (0)