Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return Container(
- child: new GridView.count(
- crossAxisCount: 2,
- children: new List<Widget>.generate(16, (index) {
- return new GridTile(
- child: new Card(
- color: Colors.white70,
- margin: EdgeInsets.all(8.0),
- child: Column(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: <Widget>[
- Image.network('https://raw.githubusercontent.com/flutter/website/master/_includes/code/layout/lakes/images/lake.jpg', {BoxFit:BoxFit.fill}),
- Padding(
- padding: EdgeInsets.all(8.0),
- child: new Center(
- child: Text("wtf"),
- ),
- ),
- Padding(
- padding: EdgeInsets.all(8.0),
- child: new Center(
- child: Text("Rp.20.000"),
- ),
- ),
- ],
- )
- )
- );
- }),
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement