onClose property
Called when the close button is pressed.
If null, this InfoBar will not be closable
Implementation
final VoidCallback? onClose;
Called when the close button is pressed.
If null, this InfoBar will not be closable
final VoidCallback? onClose;