• LongCatIsLooong's avatar
    Fix ScrollbarPainter thumbExtent calculation and add padding (#31763) · 22ea031e
    LongCatIsLooong authored
    - Fixed extentInside calculation in ScrollMetrics
    - Added asserts to extentInside getter, as well as ScrollPosition.applyContentDimensions to enforce minScrollExtent <= maxScrollExtent
    - Added padding to ScrollbarPainter, updated implementation. Took care of some edge cases.
    - Changed some scroll bar constants on Cupertino side.
    22ea031e
scrollbar.dart 11.9 KB