pushNoTransition<T extends Object?> method

  1. @optionalTypeArgs
Future<T?> pushNoTransition<T extends Object?>(
  1. Widget page
)

Usually used with a SlidingPanel

Do that:

NoTransitionPageRoute<T>(child: page)

Implementation

@optionalTypeArgs
Future<T?> pushNoTransition<T extends Object?>(Widget page) {
  return push<T>(NoTransitionPageRoute<T>(child: page));
}