Flutter Provider Snippets is a collection of commonly used Flutter classes and methods used when you use provider. It increases your speed of development.
Shortcut | Description |
---|---|
providerOf |
Get the a specific Type from the context |
providerOfFalse |
Get the a specific Type from the context without listen changes |
consumer |
Create a consumer |
selector |
Create a selector with 1 property |
selector2 |
Create a selector with 2 properties |
selector3 |
Create a selector with 3 properties |
provider |
Create a provider |
changeNotifierProvider |
Create a changeNotifierProxyProvider with 1 dependency |
changeNotifierProxyProvider2 |
Create a changeNotifierProxyProvider with 2 dependencies |
changeNotifierProxyProvider3 |
Create a changeNotifierProxyProvider with 3 dependencies |
proxyProvider |
Create a proxyProvider with 1 dependency |
proxyProvider2 |
Create a proxyProvider with 2 dependencies |
proxyProvider3 |
Create a proxyProvider with 3 dependencies |