VisibilityChangedCallback typedef
VisibilityChangedCallback =
void Function(VisibilityInfo info)
Signature for a callback to be invoked when the visibility of a widget changes.
The VisibilityInfo parameter contains information about the widget's visibility state, including its size, visible bounds, and visible fraction.
Implementation
typedef VisibilityChangedCallback = void Function(VisibilityInfo info);