onVisible property

VoidCallback? onVisible
final

Called the first time that the snackbar is visible within a Scaffold.

When multiple Scaffolds are registered to the same ScaffoldMessengerState, onVisible is called once for each scaffold.

See also:

Implementation

final VoidCallback? onVisible;