前言Flutter屏幕旋转 获取当前屏幕旋转状态1MediaQuery.of(context).orientation; Orientation.portrait:纵向Orientation.landscape:横向 完成参考文献哔哩哔哩——筱筱知晓