Closed yakppal closed 9 months ago
Thanks for your PR. This file is generated by flutter_rust_bridge, so we should not edit it, while it is ok for temporary use.
I will upgrade the version of fluter_rust_brdige and then re-generate it.
I still wonder which version of the flutter you are using, it would help me test if the incoming update would fix this issue.
Flutter 3.16.8 • channel stable • https://github.com/flutter/flutter.git Framework • revision 67457e669f (3 days ago) • 2024-01-16 16:22:29 -0800 Engine • revision 6e2ea58a5c Tools • Dart 3.2.5 • DevTools 2.28.5
in pubspec.yaml: environment: sdk: '>=2.19.2 <4.0.0' flutter: '>=3.7.12'
fixed by https://github.com/SimonWang9610/gpt_tokenizer/pull/9 and a new version was published.
Error (Xcode): ../../../../.pub-cache/hosted/pub.dev/gpt_tokenizer-0.1.0/lib/src/gen/bridge_generated.dart:244:57: Error: Required named parameter 'parseErrorData' must be provided.
In recent flutter, parseErrorData is required in FlutterRustBridgeTask.