3
【笔记】Flutter 屏幕旋转
source link: https://loli.fj.cn/2023/08/16/Flutter%E5%B1%8F%E5%B9%95%E6%97%8B%E8%BD%AC/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
【笔记】Flutter 屏幕旋转
2023-08-16Flutter 学习指北
Flutter 屏幕旋转
获取当前屏幕旋转状态
MediaQuery.of(context).orientation;
Orientation.portrait
:纵向Orientation.landscape
:横向
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK