Now that we have our Navigation bar, we should consider our user experience. Currently, each time users launch the app, they have to log in. This is not a good user experience. We should store the token on the device so that users don't have to log in each time they launch the app.
Installing Package
First, we need a secure way to store the information. While we could use a simple filesystem, there is a package that makes it easier for us. We'll use the flutter_secure_storage
package.
flutter pub add flutter_secure_storage
Once the package is installed, we can store the token...