showCloseIcon property

bool? showCloseIcon
final

(optional) Whether to include a "close" icon widget.

Tapping the icon will close the snack bar.

Implementation

final bool? showCloseIcon;