inView method

bool inView(
  1. String id
)

Checks if the widget with the id is currently in-view or not.

Implementation

bool inView(String id) {
  return _currentInViewIds.contains(id);
}