trailing property
The optional trailing widget, often a close button or action icon, on the right of the header.
Type: Widget?
Usage: Commonly an IconButton for dismissing the dialog. Styled similarly to leading with large muted icons. In specialized dialogs like Command, this might hold additional controls.
Implementation
final Widget? trailing;