Skip to content

Commit

Permalink
docs: Update interactive-widgets.mdx - added missing ? (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicMinister authored Sep 10, 2024
1 parent 0048fde commit 005fc07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/features/interactive-widgets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using home_widget you can register Dart Callbacks that get invoked from the Nati
1. Write a **static** function that takes a Uri as an argument. This will get called when a user clicks on the View
```dart
@pragma("vm:entry-point")
FutureOr<void> backgroundCallback(Uri data) async {
FutureOr<void> backgroundCallback(Uri? data) async {
// do something with data
...
}
Expand Down

0 comments on commit 005fc07

Please sign in to comment.