ShrinkSheetController constructor

ShrinkSheetController({
  1. required AnimationController shrinkController,
  2. required AnimationController hideController,
})

Implementation

ShrinkSheetController(
    {required AnimationController shrinkController,
    required AnimationController hideController}) {
  shrinkAnimation = AnimationCurveSwitcher(
    controller: shrinkController,
    forwardCurve: Curves.easeOutCirc,
    reverseCurve: Curves.easeInCirc,
  );
  fadeInAnimation = AnimationCurveSwitcher(
    controller: hideController,
    forwardCurve: Curves.easeOutCirc,
    reverseCurve: Curves.easeInCirc,
  );
}