closeWith method

void closeWith(
  1. HasCloser hasCloser, {
  2. void onClose()?,
})

Implementation

void closeWith(HasCloser hasCloser, {void Function()? onClose}) {
  hasCloser.closer.addClosable(ClosableAnimationController(this, onClose));
}