Empêcher la requête multimédia de reconstruire le widget Flutter
// You can get the screen size without the "MediaQuery.of(context)" using dart UI.
// there is more then just screen size! read the docs and source code :)
import 'dart:ui' as ui;
final screensize = (ui.window.physicalSize / ui.window.devicePixelRatio);
nidal bakir