You can't open Safari directly from widget.
But you can open your app which will open Safari.
For example, Link(destination: URL(string: "your.app.id://open_url?url=https://google.com"))
Thanks for your reply. Place a button with an empty Intent as the background of the widget works. However, I see a bug. If you make a few quick clicks on such a button, the application will still open. I hope this is a bug and it will be fixed in the next beta.
Hi reed.1325. Thanks for your answer. It works only for Text() element.
For example, when updating a widget, I see a fade animation for some elements. This creates the blinking effect of the entire widget. I would like to be able to disable this animation.
You can't open Safari directly from widget.
But you can open your app which will open Safari.
For example, Link(destination: URL(string: "your.app.id://open_url?url=https://google.com"))
Thanks for your reply. Place a button with an empty Intent as the background of the widget works. However, I see a bug. If you make a few quick clicks on such a button, the application will still open. I hope this is a bug and it will be fixed in the next beta.
Hi reed.1325. Thanks for your answer. It works only for Text() element.
For example, when updating a widget, I see a fade animation for some elements. This creates the blinking effect of the entire widget. I would like to be able to disable this animation.