You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The argument valueDefaultOrMaker is noted as an error by dart: The named parameter 'valueDefaultOrMaker' isn't defined.
This was previously reported in #786. At the time it was noted that the user was probably on a not yet released version – however the bug (presumably?) has since been released.
Please let me know if there is anything else I should try or do to help.
It turns out we are still on v2 (I was a bit confused about the distinct versions for the protobuf compiler and support library) due to a dependency. So now we are stuck here: PhilipsHue/flutter_reactive_ble#785
Since that is outside of your domain I guess this issue can be closed. Thank you for your support! :)
When I compile the following protobuf I get invalid dart code:
The generated code contains this block:
Full file: example.pb.dart.txt
The argument
valueDefaultOrMaker
is noted as an error by dart:The named parameter 'valueDefaultOrMaker' isn't defined.
This was previously reported in #786. At the time it was noted that the user was probably on a not yet released version – however the bug (presumably?) has since been released.
Please let me know if there is anything else I should try or do to help.
dart protoc_plugin installed via
dart pub global activate protoc_plugin
: 21.1.2protoc downloaded from https://github.com/protocolbuffers/protobuf/releases/tag/v26.1
The text was updated successfully, but these errors were encountered: