Showing
1 changed file
with
7 additions
and
0 deletions
@@ -226,6 +226,13 @@ Navigate to new screen: | @@ -226,6 +226,13 @@ Navigate to new screen: | ||
226 | Get.to(NextScreen()); | 226 | Get.to(NextScreen()); |
227 | ``` | 227 | ``` |
228 | 228 | ||
229 | +Navigate to new screen with name: | ||
230 | + | ||
231 | +```dart | ||
232 | + | ||
233 | +Get.toNamed('/details'); | ||
234 | +``` | ||
235 | + | ||
229 | To close snackbars, dialogs, bottomsheets, or anything you would normally close with Navigator.pop(context); | 236 | To close snackbars, dialogs, bottomsheets, or anything you would normally close with Navigator.pop(context); |
230 | 237 | ||
231 | ```dart | 238 | ```dart |
-
Please register or login to post a comment