'package:flutter/src/widgets/navigator.dart': Failed assertion: line 2216 pos 12: '!_debugLocked': is not true
Future.delayed(Duration.zero, () { Navigator.。。。; });
原因: 不能在build到时候跳转页面,让他延迟一会会就行!
'package:flutter/src/widgets/navigator.dart': Failed assertion: line 2216 pos 12: '!_debugLocked': is not true
Future.delayed(Duration.zero, () { Navigator.。。。; });
原因: 不能在build到时候跳转页面,让他延迟一会会就行!