flutterpi_tool
flutterpi_tool copied to clipboard
install compile error
flutter --version
gives
Flutter 3.38.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b45fa18946 (23 hours ago) • 2025-11-12 22:09:06 -0600
Engine • hash 78c3c9557e50ee7c676fa37562558c59efd8406a (revision b5990e5ccc) (29 hours ago) • 2025-11-12 21:08:24.000Z
Tools • Dart 3.10.0 • DevTools 2.51.1
flutter pub global activate flutterpi_tool
gives ...
+ yaml_edit 2.2.2
Building package executables... (5.7s)
Failed to build flutterpi_tool:flutterpi_tool:
../.pub-cache/hosted/pub.dev/flutterpi_tool-0.9.2/lib/src/cli/commands/run.dart:21:35: Error: The method 'RunCommand.createDebuggingOptions' has more required arguments than those of overridden method 'RunCommandBase.createDebuggingOptions'.
Future<fltool.DebuggingOptions> createDebuggingOptions(bool webMode) async {
^
flutter/packages/flutter_tools/lib/src/commands/run.dart:284:28: Context: This is the overridden method ('createDebuggingOptions').
Future<DebuggingOptions> createDebuggingOptions({WebDevServerConfig? webDevServerConfig}) async {
^
../.pub-cache/hosted/pub.dev/flutterpi_tool-0.9.2/lib/src/cli/commands/run.dart:21:35: Error: The method 'RunCommand.createDebuggingOptions' has fewer named arguments than those of overridden method 'RunCommandBase.createDebuggingOptions'.
Future<fltool.DebuggingOptions> createDebuggingOptions(bool webMode) async {
^
flutter/packages/flutter_tools/lib/src/commands/run.dart:284:28: Context: This is the overridden method ('createDebuggingOptions').
Future<DebuggingOptions> createDebuggingOptions({WebDevServerConfig? webDevServerConfig}) async {
^
../.pub-cache/hosted/pub.dev/flutterpi_tool-0.9.2/lib/src/context.dart:58:30: Error: Required named parameter 'widgetPreviews' must be provided.
return f.createLogger(
^
../.pub-cache/hosted/pub.dev/flutterpi_tool-0.9.2/lib/src/build_system/targets.dart:525:37: Error: Required named parameter 'dartHookResult' must be provided.
final depfile = await copyAssets(
^
flutter/packages/flutter_tools/lib/src/build_system/targets/assets.dart:34:17: Context: Found this candidate, but the arguments don't match.
Future<Depfile> copyAssets(
^^^^^^^^^^
Failed to update packages.
Hey! thanks for raising this.
Currently working on flutter 3.38 support for the engine CI here: https://github.com/ardera/flutter-ci/pull/27 After that I'll update flutterpi_tool.