animateTo method

Future<void> animateTo(
  1. double to
)

animate panel height to passed value

Implementation

Future<void> animateTo(double to) async {
  if (!isAttached) throw UnAttachStateException('you can\'t use controller before _ScrollablePanelState build.');
  await _state?._animateTo(to);
}