flutter / flutter/devtools

Audit scroll widgets in DevTools to see if notificationPredicate is needed

Offen
#3,292 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
cross-screen fix it friday P3
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.