File tree 3 files changed +3
-4
lines changed
packages/scrollable_positioned_list/lib/src
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 27
27
- scrollable_positioned_list
28
28
- self_storing_input
29
29
- visibility_detector
30
- # Test against the Flutter stable and master SDKs .
30
+ # Test against the Flutter stable SDK .
31
31
version :
32
32
- stable
33
- - master
34
33
# For now, don't test visibility_detector against Flutter stable (3.0).
35
34
# TODO: remove this after Flutter 3.2 ships.
36
35
exclude :
58
57
- name : flutter format
59
58
run : flutter format --dry-run --set-exit-if-changed .
60
59
# Only test formatting on one version of Flutter.
61
- if : ${{ matrix.version == 'master ' }}
60
+ if : ${{ matrix.version == 'stable ' }}
62
61
63
62
# A job configuration to do some light validation of the CI configuration.
64
63
validate :
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ linter:
31
31
- empty_statements
32
32
- hash_and_equals
33
33
- implementation_imports
34
- - invariant_booleans
35
34
- iterable_contains_unrelated_type
36
35
- library_names
37
36
- library_prefixes
Original file line number Diff line number Diff line change @@ -345,6 +345,7 @@ class _PositionedListState extends State<PositionedList> {
345
345
} else {
346
346
final itemOffset =
347
347
box.localToGlobal (Offset .zero, ancestor: viewport).dx;
348
+ if (! itemOffset.isFinite) continue ;
348
349
positions.add (ItemPosition (
349
350
index: key.value,
350
351
itemLeadingEdge: (widget.reverse
You can’t perform that action at this time.
0 commit comments