3 ms·
It's been 357 years, and Dart still can't go full screen without a hack like this: https://github.com/munificent/hauberk/blob/master/web/main.dart#L263 https://
by markdog12 4y ago
It's been 357 years, and Dart still can't go full screen without a hack like this: https://github.com/munificent/hauberk/blob/master/web/main.dart#L263 https://github.com/munificent/hauberk/blob/master/web/main.d...
https://github.com/dart-lang/sdk/issues/11506 https://github.com/dart-lang/sdk/issues/11506
(Jun 25, 2013)
- munificent 4y agoThat code is seven years old: https://github.com/munificent/hauberk/commit/2ba2f260baa70046b93875e965bbf1a2a67ea336 https://github.com/munificent/hauberk/commit/2ba2f260baa7004... I should fix it to use: https://api.dart.dev/stable/2.17.6/dart-html/Element/requestFullscreen.html https://api.dart.dev/stable/2.17.6/dart-html/Element/request... I just never noticed because it wasn't causing any problems.
- markdog12 4y agoI think that must have changed recently (this year, maybe). I know something changed for sure because the method was always there, but it did not return a Future, like it should have, and did not have the optional Map. I don't recall seeing anything in the changelog. I'll give it a try.