Skip to content

lkrjangid1/Awesome-flutter-code-snippets-hacktoberfest-2021

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter quick code snippets

  • Please do not forget to star the repo if you liked it! And please, follow me on >>>

    flutter_girlz_


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 -

  1. Api calls
  2. Animations in flutter
  3. Adding SVG icons
  4. Appbar Tricks
  5. Bottom Nav-bar
  6. 3D Seach Bar
  7. Stacked images
  8. Color codes & multiple color theme in apps
  9. Dark Mode
  10. Custom Drawer with navigation & tilecolor
  11. Random Color generator
  12. Stepper - an incement decement counter
  13. Password toggler
  14. Buttons
    1. Raw Material button
    2. Elevated button
  15. App Theme
  16. Search functionality using search delegate
  17. Text Fields
  18. Rich Text
  19. List Tile
  20. Tabbar + Tabbar in center of page
  21. Divider
  22. TextStyles
  23. Multiple Floating Action Button
  24. Social Login UI (Login with fb/google/twitter/etc.)
  25. GridView + Example for FB Story like Grid
  26. Neuromorphic - Create 3D effect of your widgets
  27. On Generated Routes [PR by Lokesh Jangid]
  28. Card Styles [PR by Lokesh Jangid]
  29. Paginated Data Table
  30. Cut Out Effect Styles [PR by Lokesh Jangid]
  31. Draggable Scrollable Sheet
  32. Firebase Authentication
  33. ClipRect
  34. Refresh Indicator flutter

Languages

  • Dart 100.0%