onClose property
Called by the close button. Without it there is none, and the result stays on screen.
Implementation
final VoidCallback? onClose;
Called by the close button. Without it there is none, and the result stays on screen.
final VoidCallback? onClose;