Skip to content

Instantly share code, notes, and snippets.

@collinjackson
Created November 23, 2015 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save collinjackson/9453ead2fdeb7986a5cf to your computer and use it in GitHub Desktop.
Save collinjackson/9453ead2fdeb7986a5cf to your computer and use it in GitHub Desktop.
Reduced test case
Widget build(BuildContext context) {
return new Scaffold(
toolBar: new ToolBar(
backgroundColor: const Color(0xFFFFFF00)
),
floatingActionButton: new FloatingActionButton(
onPressed: () => debugDumpRenderTree(),
child: new Container()
),
body:
new Container(
decoration: const BoxDecoration(backgroundColor: const Color(0xFF333333)),
child: new Block([
new Container(
height: 1000.0,
decoration: const BoxDecoration(backgroundColor: const Color(0xFFFF00FF)),
child: new PageableList<int>(
items: [1],
itemBuilder: (BuildContext context, int item, int index) {
return new Container(
key: new Key("${item}"),
decoration: const BoxDecoration(backgroundColor: const Color(0xFF00FF00))
);
},
itemExtent: 10.0
)
),
new Text("Hello world!")
])
)
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment