SlideRoute.topToBottom constructor
Implementation
SlideRoute.topToBottom({
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),
);