isWebViewAtScreenTop method

bool isWebViewAtScreenTop()

Implementation

bool isWebViewAtScreenTop() {
  //TODO: try to compare to parent scrollView y offset (this will help with stuff like ActionBar, etc..)
  return _taboolaWebView.getPositionOnScreen(_buildContext).dy <= 1;
}