SlideRoute.bottomToTop constructor
Implementation
SlideRoute.bottomToTop({
required this.builder,
bool fullscreenDialog = false,
}) : startOffset = const Offset(0, 1),
endOffset = const Offset(0, 0),
super(
fullscreenDialog: fullscreenDialog,
transitionDuration: const Duration(milliseconds: 500),
pageBuilder: (context, animation, secondaryAnimation) =>
builder(context),
);