Issue
I have this problem , when I try to use navigator this error will show up
[+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
I tried everything inside relevant topics in StackOverflow and non of them seemed to work thank you in advanced
Solution
add this line of code before using Navigator Solved my problem
await Future.delayed(Duration(seconds: 1));
Answered By - saeed bayat
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.