We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
结合fluttter_boost,打开flutter页面,请求数据,使用 SmartDialog.showLoading(backDismiss: false),在未完成请求之前,点击物理键返回,可以直接返回,没有拦截 使用上述issue提供的demo,在4.9.8+5版本下,结合flutter_boost无法实现拦截返回键。
源码发现,新版本引入了backType参数,但是在flutter_boost的兼容逻辑中,并没有对backType进行判断处理。
The text was updated successfully, but these errors were encountered:
optimize BoostRouteMonitor #248
bcd7088
dependencies: flutter_smart_dialog: ^4.9.8+6
Sorry, something went wrong.
xdd666t
No branches or pull requests
版本信息
描述bug/需求
结合fluttter_boost,打开flutter页面,请求数据,使用 SmartDialog.showLoading(backDismiss: false),在未完成请求之前,点击物理键返回,可以直接返回,没有拦截
使用上述issue提供的demo,在4.9.8+5版本下,结合flutter_boost无法实现拦截返回键。
源码发现,新版本引入了backType参数,但是在flutter_boost的兼容逻辑中,并没有对backType进行判断处理。
![Image](https://private-user-images.githubusercontent.com/32295159/410730546-4e3ce892-ee23-4986-a651-381d16f446a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NTQ4MjAsIm5iZiI6MTczOTQ1NDUyMCwicGF0aCI6Ii8zMjI5NTE1OS80MTA3MzA1NDYtNGUzY2U4OTItZWUyMy00OTg2LWE2NTEtMzgxZDE2ZjQ0NmE2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDEzNDg0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkM2IxZmZiODExYzhlM2M4YzgxODdlOTQxZTM4YjhkYWMwMWNlMzA0Y2NjNzBlYjdiZGQzMDVmOGYxOTg1MTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JmR69ST2GAJ_JSlcNgtCNlNzjMU3XZDV6xGTBO0zV44)
The text was updated successfully, but these errors were encountered: