I followed the instructions from https://pub.dartlang.org/packages/share, adding the dependency running flutter packages get
, but I can't import the plugin in my Dart code. I get the following error:
Target of URI doesn't exist: 'package:share/share.dart'.
I tried it a few times, so it's neither a typo nor a singe time bug.
Is this a known bug? And is there any fix for that?
Otherwise is there a different way of sharing simple urls and text pieces in Flutter?
Invalidate caches and restart did work, thanks for the help!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With