I used package webview_flutter and worked perfectly my problem I want to load just the game in full screen mobile (in my case webview loaded all screen content)
Asked
Active
Viewed 739 times
1
-
1You can get the link of the game from the web page and give that link to the webview widget – batuhand Apr 13 '22 at 14:39
-
Yes, That's what I did and worked, but a don't display in my app the header site footer.... I want just the part game – krimo04 Apr 13 '22 at 14:43
-
You can fetch a specific div element from the HTML file in dart and render the fetched HTML locally in webview. Heres the said approach (Not a flutter solution) https://stackoverflow.com/a/40497702/8253662 – Mahesh Jamdade Apr 13 '22 at 15:16
-
Heres how to render a local html file in flutter webview https://stackoverflow.com/a/55149298/8253662 – Mahesh Jamdade Apr 13 '22 at 15:17
1 Answers
1
The answer to your question is similar to showing full-screen a video on a webview_flutter .
You can get help from the following link.

Esmaeil Ahmadipour
- 840
- 1
- 11
- 32