Browse Source
- 添加 Positioned.fill 遮罩层组件 - 实现点击遮罩层隐藏对话框和键盘的功能 - 使用 GestureDetector 拦截点击事件 - 调用 FocusScope.of(context).unfocus() 隐藏键盘 - 调用 _hideInputDialog() 方法隐藏对话框 - 设置遮罩层颜色为透明 - 调整组件层级结构确保对话框在遮罩层上方master
1 changed files with 16 additions and 1 deletions
Loading…