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