Flutter Quirk - MediaQuery Is Zero On Release Mode

preview_player
Показать описание
How to deal with media query values being zero in release mode.

Рекомендации по теме
Комментарии
Автор

Nice solution. I did it with GlobalKey and periodic Timer.

klaus
Автор

Still, the issue exists in flutter 2.8.1 and that's not a good thing

bensalkb
Автор

Still there even in stable, master and beta in dart 3 in 2023, runApp() get executed in 3 instances.
debug print print is...
(0, 0),
(xxx, xxx)
(xxx, xxx)

VikasPatel-lz
join shbcf.ru