Added OverscrollIndicator, removed OverscrollIndicatorPainter (#3220)

* Added OverscrollIndicator, removed OverscrollIndicatorPainter
This commit is contained in:
Hans Muller
2016-04-08 14:21:00 -07:00
parent 1311ae6ffe
commit 34f23cc456
5 changed files with 218 additions and 155 deletions

View File

@@ -189,12 +189,14 @@ class ListDemoState extends State<ListDemo> {
)
]
),
body: new Scrollbar(
child: new MaterialList(
type: _itemType,
scrollablePadding: new EdgeInsets.all(_dense ? 4.0 : 8.0),
clampOverscrolls: true,
children: listItems
body: new OverscrollIndicator(
child: new Scrollbar(
child: new MaterialList(
type: _itemType,
scrollablePadding: new EdgeInsets.all(_dense ? 4.0 : 8.0),
clampOverscrolls: true,
children: listItems
)
)
)
);