You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/documentation.md
+73Lines changed: 73 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -570,6 +570,79 @@ ShowcaseView.register(
570
570
)
571
571
```
572
572
573
+
### Dynamic Callbacks
574
+
575
+
You can also add and remove event callbacks dynamically at runtime. This is particularly useful when you need to register callbacks from widgets deeper in the tree or when using named scopes.
576
+
577
+
#### OnComplete Callback
578
+
579
+
Add or remove callbacks that trigger when each showcase step completes:
580
+
581
+
```dart
582
+
// Add a callback for when each showcase step completes
0 commit comments