topSideSheetTransition top-level property

SideSheetTransitionBuilder topSideSheetTransition
getter/setter pair

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,
        );