I just want a lightweight solution for a ViewModel that can go in a stateless widget (using provider or any other dependency injection) which has an onClose() m
onClose()