Skip to content

Commit

Permalink
Merge pull request #839 from jose-mca/patch-1
Browse files Browse the repository at this point in the history
docs: Update navegation.md
  • Loading branch information
jacobaraujo7 authored Jul 30, 2023
2 parents f7c3201 + ed71297 commit 1aa07c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/docs/flutter_modular/navegation.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,20 +367,20 @@ The result will be:

:::danger ATTENTION

The **RouterOutlet** is a nested navigation, so there is no page cache.
The **RouterOutlet** is a nested navigation, so there is no page caching.

:::

:::danger ATTENTION

A **ChildRoute** named as `/` cannot have a child `/`. It is a good practice to have a better name
for following child route.
A **ChildRoute** named as `/` cannot have a child `/`. It is necessary to use better naming convention
for its child routes.

:::

## Getting Navigation History

You could get navigation history whetever you want using `Modular.to.navigateHistory`. For example:
You could get the navigation history anywhere by using `Modular.to.navigateHistory`. For example:

```dart title="navigator_helper.dart"
class NavigatorHelper {
Expand Down

0 comments on commit 1aa07c9

Please sign in to comment.