impedir a consulta de mídia de reconstruir o widget de vibração

// 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