NavigationItem constructor
NavigationItem(
- String routeName,
- Object? arguments,
- ResultConsumer resultConsumer
Takes routeName, arguments, and resultConsumer which are responsible for navigation from the StateNotifier and getting result directly to it.
Implementation
NavigationItem(
this.routeName,
this.arguments,
this.resultConsumer,
);