animateTo method

Future<void> animateTo(
  1. double position
)

position will be between 0.0 to 1.0

Implementation

Future<void> animateTo(double position) {
  assert(
      isAttached, "PanelController must be attached to a SlidingBottomSheet");
  return _panelState!._animateTo(position);
}