| commit | 63b453c9d2edf599787485cb17e2c59517d5dc9d | [log] [tgz] |
|---|---|---|
| author | Hans Muller <hansmuller@chromium.org> | Wed Oct 14 08:35:30 2015 -0700 |
| committer | Hans Muller <hansmuller@chromium.org> | Wed Oct 14 08:35:30 2015 -0700 |
| tree | a2b98ef122b51a990a4192db34febdbabedbcdf9 | |
| parent | 77a4704560d2b4e41894ea789ea046a89bfec5a3 [diff] | |
| parent | 9cbb830991a6c4f545a522788a671e07e5c81c9a [diff] |
Merge pull request #1592 from HansMuller/scrollbar Added Painter, ScrollingListPainter, MaterialScrollbarPainter Enabled displaying a scrollbar in ScrollingLists. The scrollbar is painted as an "overlay", i.e. it's painted on top of the scrolling list's visible children. Added an abstract Painter base class that encapsulates a paint method and the renderer that it's attached to. RenderBlockViewport and HomogenousViewport now support an overlayPainter property. If specified, RenderBlockViewport attaches itself to the overlayPainter when it's attached to the rendering tree. RenderBlockViewport now calls overlayPainter.paint() after it has painted its children. Added an abstract ScrollingListPainter class that exposes ScrollingList's state that might be needed for painting. Like its scroll direction and scrollOffset. The ScrollingListPainter is notified when a scroll starts and ends. Defined a Material-specific ScrollingListPainter that renders a scrollbar. The scrollbar thumb is faded in/out when the scroll starts/ends. Added onScrollStart and onScrollEnd listeners to Scrollable.
Flutter is a new way to build high-performance, cross-platform mobile apps. Flutter is optimized for today‘s, and tomorrow’s, mobile devices. We are focused on low-latency input and high frame rates on Android and iOS.
For information about using Flutter to build apps, please see the getting started guide.
For information about contributing code to Flutter itself, please see CONTRIBUTING.md.
Join us on IRC at #flutter on Freenode or join our mailing list, flutter-dev@googlegroups.com.