slideUp<T extends Widget> static method
void
slideUp<T extends Widget>(})
Slide from Bottom (modal / sheet style)
Implementation
static void slideUp<T extends Widget>(
T Function() pageBuilder, {
Duration duration = _defaultDuration,
Curve curve = _defaultCurve,
}) {
Get.to(
pageBuilder(),
transition: Transition.downToUp,
duration: duration,
curve: curve,
opaque: true, // prevents background repaint
fullscreenDialog: true, // reduces horizontal shift
);
}