How a shared link is copied automatically in TextField( ) in Flutter?

175 Views Asked by At

So I'm making an app where I want to share youtube links using my app as a post. I've done the receive-share-intent correctly but the youtube link which I get, I want it to get stored in a TextField. For example - When we share a youtube link with Whatsapp/ Discord it gets stored in some kind of TextField on those apps. Just like that This youtube link gets copied here automatically

1

There are 1 best solutions below

2
On

You can use flutter package called "Shared Plus", just read the docs in following link and you will understand how it work