
# ビルドに含まれるもの

`spring_boot_starter_flutter_navigation` を使うアプリケーションのビルドに何が含まれ、どんなときに何が含まれないか。キーで決まるモジュールは、`build_runner` の実行時に、プロファイルなしの `application.yml` または `application.properties` からそのキーを読みます ([ビルドから外されるモジュール](../spring-core-dart-generator/optimizations/build-conditions.md) を参照)。依存するパッケージのモジュールは一緒に入ります。`spring_boot_dart` については [自動構成](../spring-boot-dart/auto-configuration.md) を参照してください。

## 常に含まれるもの

`build:` も `platform:` もありません。スターターに依存するアプリケーションのすべてのビルドに含まれます。

| モジュール | 含むもの |
|---|---|
| `springBootStarterFlutterNavigationAutoConfiguration` | `route` と `branch` のスコープ、`navigation` (すべての `ScreenRoutes` Bean をまとめて開始時に確認したもの、`RouteFilter` Bean、リダイレクトと最初のアドレス)、`RouteTemplate`、`SpringApp` がアプリウィジェットを組み立てるルーター。 |

## キーとプラットフォーム

切り替えられるものはありません。このスターターのどのモジュールもキーやプラットフォームに従わないので、すべてがすべてのビルドに含まれます。

## ジェネレーターがこのスターターのために書くもの

ジェネレーターのパート ([スターターのパート](../spring-core-dart-generator/how-it-works.md#スターターのパート) を参照) は、アプリケーションがそのパッケージに届くときだけ動きます。

| パートまたはビルダー | 行うこと |
|---|---|
| ナビゲーションパート (`spring_boot_starter_flutter_navigation`) | `@ScreenRoute` と `@RouteShell` のウィジェットをスキャンします。モジュールの `ScreenRoutes` Bean、各画面の定数 (`extension BookPageRoute on BookPage`)、`spring_metadata.json` の `routes` と `shells` を書きます。 |
| ビルダー `spring_flutter_deep_links` | `Info.plist`、`Runner.entitlements`、`AndroidManifest.xml` のブロックと、ドメインの `apple-app-site-association` と `assetlinks.json`。`spring.flutter.navigation.deep-links.*` が設定されているときだけです。 |
| 依存関係を通して | スターターが `spring_boot_starter_flutter` ([そのページ](../spring-boot-starter-flutter/optimizations.md)) と `spring_web_dart` に依存するため、Flutter のパートとビルダー、Web パート。 |

## 関連項目

- [ビルドから外されるモジュール](../spring-core-dart-generator/optimizations/build-conditions.md)
- [生成の仕組み: スターターのパート](../spring-core-dart-generator/how-it-works.md#スターターのパート)
- [ビルダー](../spring-core-dart-generator/builders.md)
- [Web とディープリンク](web-and-deep-links.md)
