closeButton property
Widget representing a custom close button for the app bar.
If provided, this widget will be used as the close button in the app bar
when the canPop condition is met. The close button typically appears
when the screen is presented modally with fullscreenDialog set to true
in the PageRoute.
Defaults to AdaptiveCloseButton.
Implementation
final Widget? closeButton;