showCloseIcon property

bool? showCloseIcon
final

Overrides the default value for SnackBar.showCloseIcon.

Whether to show an optional "Close" icon.

Implementation

final bool? showCloseIcon;