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