stderr=Could not format because the source could not be parsed:
line 84, column 11 of lib/src/rust/frb_generated.web.dart: This requires the 'inline-class' language feature to be enabled.
╷
84 │ extension type RustLibWasmModule._(JSObject _) implements JSObject {}
│ ^^^^
╵
Error: Command execution failed: Could not format because the source could not be parsed:
line 84, column 11 of lib/src/rust/frb_generated.web.dart: This requires the 'inline-class' language feature to be enabled.
╷
84 │ extension type RustLibWasmModule._(JSObject _) implements JSObject {}
│ ^^^^
╵
在 analysis_options.yaml 文件中添加以下内容:
analyzer:
enable-experiment:
- inline-class
确保Dart SDK 版本支持 inline-class
特性