Go<T> constructor

Go<T>(
  1. BuildContext context
)

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.
  • args: Optional route-specific data to pass when navigating.

Implementation

Go(this.context);