diff --git a/example/lib/samples/screens/home_screen.dart b/example/lib/samples/screens/home_screen.dart index d131b49..100bdc3 100644 --- a/example/lib/samples/screens/home_screen.dart +++ b/example/lib/samples/screens/home_screen.dart @@ -36,7 +36,7 @@ class HomeScreen extends StatelessWidget { onPressed: () { // final r = NuRouter.of(context); // r.toListRequests(); - nuvigator?.open( + nuvigator.open( 'exapp://friend-requests?numberOfRequests=10', ); }, @@ -46,7 +46,7 @@ class HomeScreen extends StatelessWidget { onPressed: () async { String? text; - text = await nuvigator?.open( + text = await nuvigator.open( 'exapp://composer/text?initialText=Hello+deep+link%21', screenType: cupertinoDialogScreenType, );