onClose property

(FutureOr<void> Function(BuildContext)?) onClose
final

Called when the close button is pressed.

Implementation

final FutureOr<void> Function(BuildContext)? onClose;