Skip to content

hanskokx/flutter_adaptive_scaffold_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4a32d37 · Jul 10, 2023

History

6 Commits
Jun 30, 2023
Jun 30, 2023
Jul 10, 2023
Jun 30, 2023
Jun 30, 2023
Jun 30, 2023
Jun 30, 2023
Jun 30, 2023
Jun 30, 2023
Jun 30, 2023
Jun 30, 2023
Jun 30, 2023
Jun 30, 2023

Repository files navigation

Using FlutterAdaptiveScaffold with GoRouter

I set out to answer my own question posed to the StackOverflow community:

q782l

The definition of done is as follows:

1 - On the top row, the wide layout is presented, whereas the bottom row shows the narrow layout. In both cases, the flow is:

  • No navigation state
  • Navigation item selected
  • Item selected in list

2 - The URI for each step is as follows:

  • /
  • /nav1
  • /nav1/2

This solution solves each of these problems and meets the definition of done. However, there is still room for improvement. Pull requests are welcome.

Demonstration:

Example.mp4