I need to run a Flutter Linux application in full screen, how can this be achieved? I've looked at the WindowUtils plugin but it only supports desktop embedding.
Asked
Active
Viewed 1,871 times
1 Answers
14
On Linux, Flutter runs above GTK, so you may edit the file linux/my_application.cc and replace the following line:
gtk_window_set_default_size(window, 1280, 720);
with this line:
gtk_window_fullscreen(GTK_WINDOW(window));

Kapandaria
- 533
- 5
- 9