Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit ca6357a

Browse files
Googlernshahan
authored andcommitted
Fix to match new typdef callbacks for IntersectionObserverCallback and
MutationCallback. Note: This change has been tested with dev 69.3 PiperOrigin-RevId: 206193916
1 parent 3f33b8c commit ca6357a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/src/utils/angular/scroll_host/scroll_host_base.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,8 @@ abstract class ScrollHostBase implements ScrollHost {
244244
}
245245
}
246246

247-
void _onIntersection(Iterable<IntersectionObserverEntry> entries,
248-
IntersectionObserver _observer) {
249-
for (var entry in entries) {
247+
void _onIntersection(Iterable entries, IntersectionObserver _observer) {
248+
for (IntersectionObserverEntry entry in entries) {
250249
_intersectionStreams[entry.target]?.add(entry);
251250
}
252251
}

0 commit comments

Comments
 (0)