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