closeButton property

(Widget Function(BuildContext context, VoidCallback close)?) closeButton
final

The widget (usually an IconButton) to display when the popup box is open, that closes the popup box via the close callback

Implementation

final Widget Function(BuildContext context, VoidCallback close)? closeButton;