Committed by
GitHub
fix typo in log message that makes confusing
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -526,7 +526,7 @@ extension GetNavigation on GetInterface { | @@ -526,7 +526,7 @@ extension GetNavigation on GetInterface { | ||
526 | return page; | 526 | return page; |
527 | } else if (page is Widget) { | 527 | } else if (page is Widget) { |
528 | Get.log( | 528 | Get.log( |
529 | - '''WARNING, consider using: "Get.$method(() => Page())" instead of "Get.to(Page())". | 529 | + '''WARNING, consider using: "Get.$method(() => Page())" instead of "Get.$method(Page())". |
530 | Using a widget function instead of a widget fully guarantees that the widget and its controllers will be removed from memory when they are no longer used. | 530 | Using a widget function instead of a widget fully guarantees that the widget and its controllers will be removed from memory when they are no longer used. |
531 | '''); | 531 | '''); |
532 | return () => page; | 532 | return () => page; |
-
Please register or login to post a comment