rand dart fix
This commit is contained in:
@@ -38,7 +38,7 @@ class _NestedAppState extends State<NestedApp> {
|
||||
|
||||
void setup() {
|
||||
_navKey = GlobalObjectKey<NavigatorState>(this);
|
||||
WidgetsBinding.instance?.addPostFrameCallback((_) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
if (widget.route != null) {
|
||||
_navKey.currentState?.pushReplacementNamed(
|
||||
widget.route!.name!,
|
||||
|
||||
Reference in New Issue
Block a user