onVerticalScrollEvent method

  1. @override
void onVerticalScrollEvent(
  1. bool isDirectionUp
)
override

Called when a user scrolls the tab.

isDirectionUp - false when the user scrolls farther down the page, and true when the user scrolls back up toward the top of the page.

NOTE: available only if PlatformChromeSafariBrowser.isEngagementSignalsApiAvailable returns true.

Officially Supported Platforms/Implementations:

Parameters - Officially Supported Platforms/Implementations:

  • isDirectionUp: all platforms

Use the PlatformChromeSafariBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@override
void onVerticalScrollEvent(bool isDirectionUp) {}