navigate method

void navigate(
  1. BuildContext context, {
  2. bool clearHistory = false,
  3. bool removeCurrent = false,
})

Implementation

void navigate(
  BuildContext context, {
  bool clearHistory = false,
  bool removeCurrent = false,
}) {
  context.routeDelegate.navigateToLink(
    this,
    clearHistory: clearHistory,
    removeCurrent: removeCurrent,
  );
}