> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# フレームワークの依存関係

> pubspec.yamlファイルにmoengage_flutterを追加して、MoEngage Flutter SDKをインストールします。

<Info>
  IDE を [MoEngage docs MCP server](/docs/ja/developer-guide/connect-your-ide-to-moengage-docs) に接続すると、開発環境内で正確かつコンテキストに応じた SDK のガイダンスを得られます。アシスタントがこのドキュメントを直接検索するため、安心して統合作業を進めることができます。
</Info>

Flutterは、単一のコードベースからiOSおよびAndroid向けのネイティブコンパイルされたアプリケーションを構築するための、GoogleのUIツールキットです。

![Download](https://img.shields.io/pub/v/moengage_flutter.svg)

# プラグインのインストール

MoEngageのFlutter SDKをアプリケーションに追加するには、***pubspec.yaml*** を編集して ***moengage\_flutter*** を依存関係として追加します。

<CodeGroup>
  ```yaml pubspec.yaml theme={null}
  dependencies:
  	moengage_flutter: $lastestVersion
  ```
</CodeGroup>

***\$latestVersion*** はプラグインの最新バージョンを指します。

依存関係を追加したら、ターミナルで次のコマンドを実行して依存関係をインストールします。

<CodeGroup>
  ```yaml pubspec.yaml theme={null}
  flutter pub get
  ```
</CodeGroup>

<Info>
  動作するサンプルアプリは[こちら](https://github.com/moengage/Flutter-SDK)にあります。
</Info>

プラグインをインストールした後、以下のプラットフォーム固有の設定を行います。

* [Android](/docs/ja/developer-guide/flutter-sdk/sdk-integration/sdk-installation/android)
* [iOS](/docs/ja/developer-guide/flutter-sdk/sdk-integration/sdk-installation/ios)
* [Web](/docs/ja/developer-guide/flutter-sdk/sdk-integration/sdk-initialization/web-sdk-initialization)
