Skip to content

Commit 005fc07

Browse files
authored
docs: Update interactive-widgets.mdx - added missing ? (#295)
1 parent 0048fde commit 005fc07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/interactive-widgets.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Using home_widget you can register Dart Callbacks that get invoked from the Nati
1717
1. Write a **static** function that takes a Uri as an argument. This will get called when a user clicks on the View
1818
```dart
1919
@pragma("vm:entry-point")
20-
FutureOr<void> backgroundCallback(Uri data) async {
20+
FutureOr<void> backgroundCallback(Uri? data) async {
2121
// do something with data
2222
...
2323
}

0 commit comments

Comments
 (0)