SIGN IN SIGN UP

[tool] Wire dependency injection into runner and executable with required non-nullable contexts (#190922)

## Summary

Part 2 of the modular dependency injection migration (stacked on
#190724).

Wires explicit dependency injection into the Flutter tool entrypoints:
- Wires `ToolDependencies.bootstrap` into `runner.dart` to initialize
dependencies at startup.
- Updates `FlutterCommandRunner` to accept non-nullable `toolContext`,
`androidContext`, `appleContext`, and `toolDependencies`.
- Updates `executable.dart` to forward `ToolDependencies` into
`generateCommands`.
- Updates `test_flutter_command_runner.dart` and hermetic test doubles.

Part of https://github.com/flutter/flutter/issues/47161
B
Ben Konyi committed
4186f65a3cb5b9b4d46e7f66d6c0ab192c758d03
Parent: 1e614d2
Committed by GitHub <noreply@github.com> on 8/19/2026, 6:10:50 PM