Generate Redux State, reducer, action, and Middleware via VS Code Extension — “Flutter Redux Gen”
What is “Flutter Redux Gen”?
Flutter Redux Gen is the VS Code Extension for generating flutter_redux state, reducer, action, and middleware code for lazy developers like me.
Extension Link:
https://marketplace.visualstudio.com/items?itemName=BalaDhruv.flutter-redux-gen
Why you need this extension?
In one click you can create State, reducer, middleware, and action. If you created a parent state it will automatically import the new state into the parent state.
Features
- Create Parent Set
- Create Set
- Create State
- Create Reducer
- Create Middleware
- Create Action
Let’s see how to create these.
Create Parent Set
It creates a folder with the given name that contains state, reducer, and middleware files.
It will act as a Parent. Whenever you will create a new Set, that will automatically be imported into this parent set.
Create Set
It creates a folder with the given name that contains action, reducer, middleware, and state files.
If you have already created Parent Set this set will automatically be imported in that state.
Create State
It will create a file redux State with a given name that contains the auto-generated Code.
Create Reducer
It will create a file redux Reducer with a given name that contains the auto-generated Code.
Create Middleware
It will create a file redux Middleware with a given name that contains the auto-generated Code.
Create Action
It will create a file redux Action with a given name that contains the auto-generated Code.
Thanks for reading this article if you find this extension useful, please add your review and comments in the VS Code Market place.
Dont Forget to donate and encourage open source developers.
Don’t forget to suggest to friends.