State actions on NyPages #234
-
|
Hi! I am trying to figure out how to properly send the And this is my component: I have tried to follow the documentation but some things are not working, for example there is no Dashboard.state, so I have used Dashboard.path which should work as well based on the code in the function. But still I am at a loss. Is there any working example which I can check to see the differences? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @voytech-net, You need to change this to this That should fix your issue |
Beta Was this translation helpful? Give feedback.
Hi @voytech-net,
You need to change this
Dashboard({super.key}) : super(child: _DashboardState());to this
Dashboard({super.key}) : super(child: () => _DashboardState());That should fix your issue