Deprecate old list-based scrolling widgets (#8120)

- MaterialList
 - ScrollableList
 - ScrollableLazyList
 - LazyBlock

All of these widgets can be replaced by ListView now.
This commit is contained in:
Adam Barth
2017-02-13 17:45:29 -08:00
committed by GitHub
parent c67575703c
commit 9df8b7211b
7 changed files with 20 additions and 23 deletions

View File

@@ -45,7 +45,7 @@ class OverscrollDemoState extends State<OverscrollDemo> {
@override
Widget build(BuildContext context) {
Widget body = new MaterialList(
Widget body = new MaterialList( // ignore: DEPRECATED_MEMBER_USE
type: MaterialListType.threeLine,
padding: const EdgeInsets.all(8.0),
scrollableKey: _scrollableKey,