diff --git a/lib/screens/web.dart b/lib/screens/web.dart index 9eda3d5..48d2fd7 100644 --- a/lib/screens/web.dart +++ b/lib/screens/web.dart @@ -67,7 +67,7 @@ class BarcodeScanner extends StatelessWidget { ui.platformViewRegistry .registerViewFactory(createdViewId, (int viewId) => iframe); final width = MediaQuery.of(context).size.width; - final height = width / (16 / 9); + final height = MediaQuery.of(context).size.height; return Scaffold( appBar: _buildAppBar(context), body: SingleChildScrollView(