what do I need for screen sharing in app in Flutter? I don't know how to get this sharing screen and show it in widget and I'm looking for the answer.
What steps should I take?
I hope I understand the problem. If you want to share something like file, link, image, you can use the flutter shared package.
https://pub.dev/packages/flutter_share
but if you want to share a redirect link within the application or a widget within the application if you want to make a redirect within this widget. If you want to go directly to that page, you should use a deep link. You need to know some information in deep link, I'm leaving a blog post to help you in it.
https://docs.flutter.dev/development/ui/navigation/deep-linking
https://blog.logrocket.com/understanding-deep-linking-flutter-uni-links/
I hope this article helped you.