当前位置:网站首页>[shutter] solve failed assertion: line 5142 POS 12: '_ debugLocked‘: is not true.
[shutter] solve failed assertion: line 5142 POS 12: '_ debugLocked‘: is not true.
2022-06-30 09:04:00 【Have a promising future】
Flutter Day four , An error is reported in the jump , That's true :Failed assertion: line 4653 pos 12: ‘!_debugLocked’: is not true.
This error report is really disgusting to me , Read relevant errors , This one is wrong , It has nothing to do with what I modified and successfully ran correctly 
Until I saw this , Things have finally turned for the better 
The reason why in this official dart File error , Maybe one of the following :
1、 The current layout is not loaded
2、Navigator If the jump action of is not completed, directly execute the new jump task
My solution to this problem is to add a delay to the jump method
Future.delayed(Duration(milliseconds: 500),(){
Navigator.of(buildContext).pushAndRemoveUntil(MaterialPageRoute(builder: (context) => BottomNavigation()), (route) => false);
});
Reference resources :
1、Flutter Failed assertion: line 4830 pos 12: ‘<optimized out>‘: is not true.
2、Flutter Failed assertion: line 4830 pos 12: ‘<optimized out>‘: is not true.
边栏推荐
- Detailed explanation of pytoch's scatter function
- [untitled]
- JVM tuning related commands and explanations
- Rew acoustic test (III): generate test signal
- Based on svelte3 X desktop UI component library svelte UI
- List set export excel table
- Tidb 6.0: making Tso more efficient tidb Book rush
- Mmdet line by line code interpretation of positive and negative sample sampler
- Metasploit practice - SSH brute force cracking process
- Comparison of two ways for C to access SQL Server database (SqlDataReader vs SqlDataAdapter)
猜你喜欢

Rew acoustic test (VI): signal and measurement

Interference source current spectrum test of current probe

使用华为性能管理服务,按需配置采样率
![[kotlin collaboration process] complete the advanced kotlin collaboration process](/img/43/9c4b337caf406537e317dea2ed5f17.png)
[kotlin collaboration process] complete the advanced kotlin collaboration process

Installation, use and explanation of vulnerability scanning tool OpenVAS

TiDB 6.0:让 TSO 更高效丨TiDB Book Rush

基于Svelte3.x桌面端UI组件库Svelte UI

VIM from dislike to dependence (21) -- cross file search

Rew acoustic test (I): microphone calibration

Flink SQL 自定义 Connector
随机推荐
[data analysis and display]
File upload component on success event, add custom parameters
Introduction to MySQL basics day4 power node [Lao Du] class notes
Introduction to MySQL basics day3 power node [Lao Du] class notes
[untitled]
Rew acoustic test (III): generate test signal
Opencv learning notes -day1 (image reading display imread, imshow, namedwindow)
JVM tuning related commands and explanations
About Lombok's @data annotation
C#访问MongoDB并执行CRUD操作
mysql基础入门 day4 动力节点[老杜]课堂笔记
Talk about how the kotlin collaboration process establishes structured concurrency
Influencing factors of echo cancellation for smart speakers
Mmdet line by line code interpretation of positive and negative sample sampler
14岁懂社会-《关于“工作的幸福”这件事儿》读书笔记
Esp32 things (I): Preface
List set export excel table
Mmcv expanding CUDA operator beginner level chapter
Detectron2 source code reading 2--- using the configurable decorator to build the dataloader
Duplicate entry '2' for key 'primary appears in JPA‘