Closed Larsonog closed 1 year ago
In pages/results.dart
, line 5 tries to import widgets/homeNavBar.dart
which was moved to the notNeeded
directory. The home button at the bottom of the results page still tries to navigate to HomeNavBar
rather than SourceDescriptionPage
(the new "home" page).
I would recommend using Navigator.pushAndRemoveUntil()
, which pushes a new page and removes the previous route path based on a predicate function. Using (route) => false
as a predicate will remove all previous routes, resetting the navigation path. This prevents there from being back arrows on the app bars that allow the user to un-navigate, and keeps the widget tree cleaner.
Creates a directed flow of the app and adds more data to be collected with the source description page
Closes #40, #35