From 8e359fedc76d02115b09713c421805df42fe243d Mon Sep 17 00:00:00 2001 From: Rodrigo Perez Date: Fri, 13 Sep 2024 15:04:51 -0300 Subject: [PATCH] Fix example --- example/lib/samples/screens/home_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, );