ShrinkSheetController constructor
ShrinkSheetController({
- required AnimationController shrinkController,
- 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,
);
}