Skip to content

Commit

Permalink
fix: apply automatic formatting to navigation now that it is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jolexxa committed Aug 29, 2024
1 parent 052a862 commit c36c56f
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions src/content/docs/navigation/navigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,26 @@ Structure your routes in a way that makes logical sense. Avoid placing all of yo
<TabItem label="Good ✅">

```txt
/
/flutter
/flutter/news
/flutter/chat
/android
/android/news
/android/chat
/
/flutter
/flutter/news
/flutter/chat
/android
/android/news
/android/chat
```

</TabItem>
<TabItem label="Bad ❗️">

```txt
/
/flutter
/flutter-news
/flutter-chat
/android
/android-news
/android-chat
/
/flutter
/flutter-news
/flutter-chat
/android
/android-news
/android-chat
```

</TabItem>
Expand Down Expand Up @@ -119,9 +119,11 @@ context.goNamed('categories', queryParameters: {'size': 'small', 'color': 'blue'
<TabItem label="Navigating by path">

Navigating by path:

```dart
context.go('/categories?size=small&color=blue');
```

</TabItem>
</Tabs>
:::
Expand Down

0 comments on commit c36c56f

Please sign in to comment.