flutter - 颤动中安全区域内的 InteractiveViewer
问题描述
限制interactiveViewer 在屏幕的SafeArea 内拖放控件的最佳方法是什么?在我的代码中,我将 EdgeInsets.all 指定为 double.infinity。有没有办法获得 SafeArea EdgeInsets,它可能会有所帮助?问题是,我的控件正在离开屏幕。谢谢你的帮助
SafeArea(
child: InteractiveViewer(
boundaryMargin: EdgeInsets.all(double.infinity),
解决方案
推荐阅读
- php - 如何避免Mongo数组中的重复对象
- docker - 相同的 Dockerfile 在 macOS Docker 上构建,但不在 Raspbian (Stretch) Docker 上构建
- python - 有没有办法最小化这个scrapy蜘蛛的长度
- boost - CentOS 7 Base Repo 中缺少 boost 日志库
- reactjs - 使用linkedIn Share插件共享网址时出现403错误
- python - 为python中的散点图自定义气泡大小
- java - 停止处理程序线程按钮
- ios - 未安装自定义字体 - Xcode 11 beta
- rabbitmq - 如何从 Rabbit mq 队列中恢复或备份消息
- angular - 常规网址的角度路线