Which browser should I use?
It is highly recommeded to use chrome to complete this coding practice.
## Part 1 | |
- Widgets | |
- Container | |
- EdgeInsets | |
- Text | |
- TextStyle | |
- Image & Image.asset | |
- BoxDecoration |
This is a work in progress gist | |
Basics | |
At the moment riverpod related official docs are the best way to learn. since the stable version came out very recently | |
Steps | |
- Go through official docs | |
- https://riverpod.dev/docs/getting_started | |
- Build a counter |
Steps: | |
- Follow Steps mentioned in Official Doc | |
- https://docs.flutter.dev/development/tools/vs-code | |
Install the below extensions: | |
- dart-code.flutter | |
- nash.awesome-flutter-snippets | |
- robert-brunhage.flutter-riverpod-snippets | |
- jeroen-meijer.pubspec-assist |
# Problem: | |
- When working with multiple projects that utilize different versions of yarn, npm, | |
I always have to type `yvm use` in order to have `yvm set` the correct version of yarn that my project has. | |
# Solution: | |
- When I switch into a directory that already has a .nvmrc file, nvm automatically should run `nvm use` | |
so that I don't have to do it manually. |
References: | |
https://stackoverflow.com/questions/23556330/run-nvm-use-automatically-every-time-theres-a-nvmrc-file-on-the-directory/39519460#39519460 | |
https://asciinema.org/a/191898 | |
https://github.com/tophat/yvm/issues/136 | |
https://github.com/tophat/yvm/blob/8e1f7ed3b38016abbc3e9a7759bf73a7346c983a/src/util/version.js | |
https://stackoverflow.com/questions/1880198/how-to-execute-shell-command-in-javascript |
Work in progress | |
Here is the curated list of points from my experience segregated for greater good over the time | |
1. While searching for a file in vscode | |
2. Donot delete node_modules using mouse clicks but use rm -rf command from command line | |
3. Typing keyboard should be done with out seeing it. |
* The below words whether they are used as a note, component name, model name, store name should be in right casing, | |
based on the context, across web and app projects. | |
Lower camelCase - Pascal Case | |
signin - Signin | |
signout - Signout | |
checklist - Checklist | |
logout - Logout | |
login - Login |
{ | |
"window.zoomLevel": 0, | |
"editor.renderWhitespace": "all", | |
"editor.formatOnSave": true, | |
"editor.tabCompletion": "on", | |
"javascript.validate.enable": false, | |
"javascript.format.enable": false, | |
"files.associations": { | |
"*.js": "javascriptreact", | |
"*.tsx": "typescriptreact", |