1.Flutter Provider Snippets
以下、Flutter で Provider パッケージ利用時のスニペットです。
providerOf
(Get the a specific Type from the context)コンテキストから特定のタイプを取得します

providerOfFalse
(Get the a specific Type from the context without listen changes)リッスン変更せずにコンテキストから特定の Type を取得します

consumer
(Create a consumer)consumer部の作成

selector
(Create a selector with 1 property)プロパティを1つ持つセレクタを作成

selector2
(Create a selector with 2 properties)2つのプロパティを持つセレクターを作成

selector3
(Create a selector with 3 properties)3つのプロパティを持つセレクターを作成

provider
(Create a provider)プロバイダーの作成


changeNotifierProvider
(Create a changeNotifierProxyProvider with 1 dependency)依存関係を1つ持つchangeNotifierProxyProviderを作成


changeNotifierProxyProvider2
(Create a changeNotifierProxyProvider with 2 dependencies)2つの依存関係を持つchangeNotifierProxyProviderを作成

changeNotifierProxyProvider3
(Create a changeNotifierProxyProvider with 3 dependencies)3つの依存関係を持つchangeNotifierProxyProviderを作成

proxyProvider
(Create a proxyProvider with 1 dependency)依存関係を1つ持つproxyProviderを作成

proxyProvider2
(Create a proxyProvider with 2 dependencies)2つの依存関係を持つproxyProviderを作成

proxyProvider3
(Create a proxyProvider with 3 dependencies)3つの依存関係を持つproxyProviderを作成
