Flutter Hooks Snippets
Flutter Hooks Snippets is a Visual Studio Code extension that makes writing Flutter Hooks much easier and faster!
Inspired by React Hooks Snippets ❤️
Hooks Snippets
Prefix |
Snippet |
Description |
importHooks |
Import Hooks |
Import Material and Hooks packages |
hook |
Hook class |
Creates a Hook class. |
hookW |
HookWidget class |
Creates a HookWidget class. |
hookSW |
StatefulHookWidget class |
Creates a StatefulHookWidget class. |
initHook |
initHook() |
|
useS |
useState() |
|
useE |
useEffect() |
|
useM |
useMemoized() |
|
useR |
useReducer() |
|
Hooks Riverpod Snippets
Prefix |
Snippet |
Description |
hookC |
HookConsumerWidget class |
Creates a Creates a HookConsumerWidget class. |
hookSC |
StatefulHookConsumerWidget class |
Creates a StatefulHookConsumerWidget class. |
Medium articles by the author
You can always read the articles I write on my devmuaz account which I write pretty great Flutter content out there.
Contributions & Support
Issues and pull requests are always welcome 😄
If you found this extension useful for you and liked it, please star the repo ⭐️ it would mean a lot!
License
MIT
| |