SKILL

dart-flutter-patterns

本番環境対応のDartおよびFlutterパターンは、null安全性、不変状態、非同期構成、ウィジェットアーキテクチャ、人気のある状態管理フレームワーク(BLoC、Riverpod、Provider)、GoRouterナビゲーション、Dioネットワーキング、Freezedコード生成、クリーンアーキテクチャをカバー。

Original · translation did not pass checks

Target: Mobile development. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original Japanese text

Topics in the source

  • Dart/Flutterパターン
  • 使用時期
  • 動作方法
  • 例

次の場合にこのスキルを使用: 新しいFlutter機能を開始し、状態管理、ナビゲーション、またはデータアクセスのイディオマティックパターンが必要 Dartコードのレビューまたは作成とnull安全性、シール型、非同期構成のガイダンスが必要 新しいFlutterプロジェクトをセットアップしBLoC、Riverpod、またはProviderのうち選択 安全なHTTPクライアント、WebView統合、ローカルストレージを実装 FlutterウィジェットEt、Cubit、またはRiverpodプロバイダーのテストを作成 GoRouterを認証ガードでワイヤリング このスキルは、懸念事項で整理されたコピーペーストの準備ができたDart/Flutterコードパターンを提供: 1. Null安全性 — !を避ける、?./??/パターンマッチングを好む 2. 不変状態 — シール型、freezed、copyWith 3. 非同期構成 — 並行Future.wait、await後の安全なBuildContext 4. ウィジェットアーキテクチャ — クラスに抽出(メソッドではなく)、const伝播、スコープ付きリビルド 5. 状態管理 — BLoC/Cubityベント、Riverpodノーティファイアおよび派生プロバイダー 6. ナビゲーション — refreshListenable経由の反応型認証ガード付きGoRouter 7. ネットワーキング — インターセプタ付きDio、ワンタイム再試行ガード付きトークンリフレッシュ 8. エラーハンドリング — グローバルキャプチャ、ErrorWidget.builder、crashlyticsワイヤリング 9. テスト — ユニット(BLoC test)、ウィジェット(ProviderScopeオーバーライド)、モック上のフェイク 詳細については、ドキュメントを参照してください。

Source repository
affaan-m/ECC
Source file
docs/ja-JP/skills/dart-flutter-patterns/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:49.105Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.