closeWith method
void
closeWith(
- HasCloser hasCloser, {
- void onClose()?,
Implementation
void closeWith(HasCloser hasCloser, {void Function()? onClose}) {
hasCloser.closer.addClosable(ClosableBoxPainter(this, onClose));
}