routeReplace<T extends Object?> function
Implementation
Future<T?>? routeReplace<T extends Object?>(Widget widget) {
Route<T> route = new CupertinoPageRoute(
builder: (BuildContext context) => widget,
settings: new RouteSettings(
name: widget.toStringShort(),
// isInitialRoute: false,
),
);
return navGK.currentState?.pushReplacement(route);
}