Skip to content

Commit a081865

Browse files
update example
1 parent 782b4db commit a081865

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/tutorial_coach_mark_widget.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ class TutorialCoachMarkWidgetState extends State<TutorialCoachMarkWidget> {
6464
focusAnimationDuration: widget.focusAnimationDuration,
6565
pulseAnimationDuration: widget.pulseAnimationDuration,
6666
clickTarget: (target) {
67-
if (widget.clickTarget != null) widget.clickTarget(target);
67+
widget.clickTarget?.call(target);
6868
},
6969
clickOverlay: (target) {
70-
if (widget.clickOverlay != null) widget.clickOverlay(target);
70+
widget.clickOverlay?.call(target);
7171
},
7272
focus: (target) {
7373
setState(() {

0 commit comments

Comments
 (0)