• Greg Price's avatar
    Fill in SliverConstraints fields missing from ==, hashCode, toString (#143661) · 6b9d3ea4
    Greg Price authored
    I was doing some debugging on a RenderSliver subclass, and found
    that SliverConstraints.toString was missing the precedingScrollExtent
    field.
    
    Add that, and add both that field and userScrollDirection to the
    `==` and hashCode implementations, which had been skipping them,
    so that all three methods now handle all the class's fields.
    6b9d3ea4
sliver.dart 80.9 KB