animateSheet method

Future<void> animateSheet(
  1. double size
)

Animate sheet to a specific size

Implementation

Future<void> animateSheet(double size) async {
  await animateTo(
    size,
    duration: const Duration(milliseconds: 50),
    curve: Curves.easeInOut,
  );
}