push<T extends Object> method
Push
Implementation
Future<T?> push<T extends Object>(Widget page,
{EasyTransitionType? transitionType}) =>
Navigator.of(this).push(EasyPageTransition(
child: page,
childCurrent: this.widget,
type: transitionType ??= Platform.isAndroid
? EasyTransitionType.bottomToTop
: EasyTransitionType.rightToLeft));