如果onWillPop
为空,则再次启用向后滑动功能。
return WillPopScope(
onWillPop: isLoading ? () async => false : null,
child: child);
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
3047 次 |
最近记录: |