How do I add receive_sharing_intent dependency so my app can open shared URLS

Custom Code

As an example, if I click share in Spotify of a playlist url and want my app to show up in the list to receive it, I know I'll need the receive_sharing_intent dependency added to pubspec.yaml and make modifications to intents, etc.

I can only find documentation about adding a dependency to a widget, but that makes it sound like the dependency has a smaller scope then is needed in this case.

What have you tried so far?

I've checked all documentation, forum searches and posts, I only see options to add them to custom widgets or potentially functions, but it doesn't sound like it would be adding the dependencies globally to the project from those descriptions

Did you check FlutterFlow's Documentation for this topic?
No
3