onVisible property
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:
- ScaffoldMessenger, which manages SnackBars for Scaffold descendants.
Implementation
final VoidCallback? onVisible;