我只做 app 所以直接注释掉了,这个地方感觉不应该用宽度来判断
Widget _webScaffold(Color? backgroundColor) => Scaffold(
backgroundColor: backgroundColor,
body: LayoutBuilder(
builder: (BuildContext context, BoxConstraints constraints) {
// final isLandscape =
// constraints.maxHeight / constraints.maxWidth < 1.05;
// context.read().setIsLandscape(newValue: isLandscape);
return _safeArea;
},
),