pushNoTransition<T extends Object?> method
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));
}