Closed Noobware1 closed 9 months ago
Can you try adding this to your plugin?
registry.addSource(DartSource(
'package:meiyou_extensions_lib/packages/crypto_dart/encoders/encoders.dart',
'''import 'package:meiyou_extensions_lib/packages/crypto_dart/encoders/base64.dart'; '''));
This adds an explicit import of the base64 file. (If this works it's probably a bug because that shouldn't be required, but I think it might fix the issue)
sorry for the late reply I tried doing this but now it shows this error
CompileError: Bridge: cannot find library package:meiyou_extensions_lib/packages/crypto_dart/encoders/encoder.dart at unknown (file package:example/main.dart)
Yeah that's the same error just with a different file. Just add imports of all of the files you get that error for to the dart source string.
Fixed in v0.7.6
here's the plugin
here are the types I have shortened them to encoders only
here's the test case