We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0048fde commit 005fc07Copy full SHA for 005fc07
docs/features/interactive-widgets.mdx
@@ -17,7 +17,7 @@ Using home_widget you can register Dart Callbacks that get invoked from the Nati
17
1. Write a **static** function that takes a Uri as an argument. This will get called when a user clicks on the View
18
```dart
19
@pragma("vm:entry-point")
20
- FutureOr<void> backgroundCallback(Uri data) async {
+ FutureOr<void> backgroundCallback(Uri? data) async {
21
// do something with data
22
...
23
}
0 commit comments