fastRoutePush<T extends Object?> function

Future<T?>? fastRoutePush<T extends Object?>(
  1. Widget widget
)

Implementation

Future<T?>? fastRoutePush<T extends Object?>(Widget widget) {
  Route<T> route = CupertinoPageRoute(
    builder: (BuildContext context) => widget,
    settings: RouteSettings(
      name: '/${widget.toStringShort()}',
//      isInitialRoute: false,
    ),
  );
  return navGK.currentState?.push<T>(route);
}