Go constructor
Go(
- BuildContext context, {
- String? routeName,
- MyRouteArguments? arguments,
- dynamic data,
Creates a Go instance with the provided parameters.
context: The BuildContext from which navigation actions will be performed.routeName: The name of the route to navigate to.data: Navigates back to the previous screen with provided data.arguments: Optional route-specific data to pass when navigating.
Implementation
Go(this.context, {this.routeName, this.arguments, this.data});