当前位置:网站首页>[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.
边栏推荐
- List set export excel table
- Wikimedia Foundation announces the first customers of its new commercial product "Wikimedia enterprise"
- Esp32 things (3): overview of the overall system design
- Rew acoustic test (V): equipment required for test
- Coredata acquisition in swift sorting, ascending, descending
- [protobuf] protobuf generates cc/h file through proto file
- A troubleshooting of CPU bottom falling
- Opencv learning notes-day14 drawing of image geometry (rect class rotatedrect class, rectangle drawing rectangle circle drawing circular function line drawing line function ellipse drawing elliptic fu
- Esp32 things (I): Preface
- Invalid update: invalid number of sections. The number of sections contained in the table view after
猜你喜欢
Redis design and Implementation (III) | interaction between server and client (event IO model)
100 lines of code and a voice conversation assistant
Raspberry pie 4B no screen installation system and networking using VNC wireless projection function
Introduction to the runner of mmcv
Evaluation standard for audio signal quality of intelligent speakers
A troubleshooting of CPU bottom falling
Pytorch BERT
Abstract factory pattern
Sort (simple description)
Opencv learning notes -day10 logical operation of image pixels (usage of rectangle function and rect function and bit related operation in openCV)
随机推荐
100 lines of code and a voice conversation assistant
CUDA realizes matrix multiplication
Comparaison de deux façons d'accéder à la base de données SQL Server (sqldatareader vs sqldataadapter)
Summary of common pytoch APIs
Redis design and Implementation (I) | data structure & object
Viteproject require Syntax Compatibility Problem Solving require is not defined
Esp32 things (3): overview of the overall system design
Wikimedia Foundation announces the first customers of its new commercial product "Wikimedia enterprise"
How can I get the discount for opening a securities account? Is online account opening safe?
Icon resources
C#訪問SQL Server數據庫兩種方式的比較(SqlDataReader vs SqlDataAdapter)
Redis design and Implementation (III) | interaction between server and client (event IO model)
Redis design and Implementation (IV) | master-slave replication
Flink 数据偶尔数据积压导致checkpoint失败
Esp32 (7): I2S and I2C drivers for function development
Flink Sql -- toAppendStream doesn‘t support consuming update and delete changes which
Tidb 6.0: making Tso more efficient tidb Book rush
Opencv learning notes -day13 pixel value statistics calculation of maximum and minimum values, average values and standard deviations (use of minmaxloc() and meanstddev() functions)
Source code interpretation of detectron2 1--engine
El input limit can only input numbers