Created
November 23, 2015 22:58
-
-
Save collinjackson/9453ead2fdeb7986a5cf to your computer and use it in GitHub Desktop.
Reduced test case
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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