A template for a Flutter project that has a Login and Registration Screen. The main Screen has a Navigation Drawer that utilizes Navigator 1.0 with Named Routes. Optional arguments can be passed to PostPage to demonstrate navigation using Named Routes with arguments.
To Navigate, there are two Navigators set:
one on MyApp()
- run in main(), and the other one is on NavigatorPage
The reason for using two Navigators is so we could utilize a single AppBar and update the route displayed on the browser's address bar on web.
Refer to this doc for frequently used commands in Git: https://about.gitlab.com/images/press/git-cheat-sheet.pdf
This command switches to the branch, -b creates the branch if it has yet to exist
git checkout [-b] [BRANCH_NAME]
Merge changes from branch [BRANCH_NAME] to current branch
git merge [BRANCH_NAME]
git add [FILE/PATH]
Add label on what the committed changes are for
git add [FILE]
git commit -m ‘[MESSAGE]’
- commit message for the added file, adding commit message for individually added files is also possible
Push changes to remote[origin] repository[BRANCH]
git push origin [BRANCH]
Deletes local branch
git branch -d [BRANCH_NAME]
Push changes to remote[origin] repository[BRANCH]
git push -d origin [BRANCH_NAME]