topSideSheetTransition top-level property
Implementation
SideSheetTransitionBuilder topSideSheetTransition =
(child, animation) => SlideTransition(
position: animation
.drive(CurveTween(curve: Curves.easeOutCubic))
.drive(Tween(begin: const Offset(0, -1), end: Offset.zero)),
child: child,
);