79581070

Date: 2025-04-18 12:59:28
Score: 0.5
Natty:
Report link

You can do it similarly to that . But instead of passing String like on the example, you pass a cubit/bloc, like :

Navigator.of(context).pushNamed(Routes.myPage, arguments: {'bloc' : context.read<MyBloc>()});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: A.Ktns