Flutter quick code snippets
Points to be noted
- Here you can add your own quick flutter code snippets which can be referred while coding
- Please make a PR so that I can add them here too
- Also, credits to some stackoverflow answers whose code snippet has been used directly.
The codes snippets given are taken from my own projects on basis of their usage, you can customize it to fulfill your requirements.
Code snippets covered till now -
- Animations in flutter
- Adding SVG icons
- Appbar Tricks
- Bottom Nav-bar
- Color codes & multiple color theme in apps
- Dark Mode
- Random Color generator
- Stepper - an incement decement counter
- Password toggler
- Buttons
- Raw Material button
- Elevated button
- App Theme
- Search functionality using search delegate
- Text Fields
- Rich Text
- List Tile
- Tabbar + Tabbar in center of page
- Divider
- TextStyles
- Multiple Floating Action Button
- Social Login UI (Login with fb/google/twitter/etc.)
- GridView + Example for FB Story like Grid
- Neuromorphic - Create 3D effect of your widgets
- Please do not forget to star the repo if you liked it!