![](/img/trans.png)
[英]Flutter- “extendBody: true” does absolutely nothing. I want to extend the body behind the navigation bar
[英]flutter- !_debugLocked is not true
我有這個問題,當我嘗試使用導航器時,會出現這個錯誤
[+1368632 ms] Error: Assertion failed: file:///home/saeedszz/snap/flutter/common/flutter/packages/flutter/lib/src/widgets/navigator.dart:4564:12
!_debugLocked
is not true
我嘗試了 StackOverflow 中相關主題中的所有內容,但似乎沒有一個有效,謝謝你
在使用 Navigator 之前添加這行代碼解決了我的問題
await Future.delayed(Duration(seconds: 1));
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.