flutter / flutter/devtools

Audit scroll widgets in DevTools to see if notificationPredicate is needed

Aperta
#3,292 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
cross-screen fix it friday P3
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

A [`notificationPredicate`](https://api.flutter.dev/flutter/material/Scrollbar/notificationPredicate.html) is required for scrollbars whose corresponding scrollview is not the first nested scrollview beneath them (see image below for an example where the`notificationPredicate` is needed). DevTools wasn't using `notificationPredicate` before https://github.com/flutter/devtools/pull/3262. We should check to see if it's needed anywhere else.

![image](https://user-images.githubusercontent.com/21270878/129966770-a81042bc-e736-4c46-a735-0ce9b723d473.png)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.