Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- child: Column(
- mainAxisAlignment:
- MainAxisAlignment.spaceBetween,
- children: <Widget>[
- Text(
- '${items[index].name}',
- style: TextStyle(
- color: Colors.black,
- fontSize: 20.0),
- ),
- Container(
- child: Text(
- '${items[index].size}',
- style: TextStyle(
- color: Colors.black,
- fontSize: 20.0),
- ),
- ),
- Container(
- child: Image.network(
- '${items[index].imageU}',
- height: 100.0,
- width: 100,
- )),
- class Task{
- String name;
- List<String> size= new List<String>();
- List<String> imageU= new List<String>();
- Task.fromMap(Map<String,dynamic> map){
- this.name = map['name'];
- this.size= List.from(map['size' ]);
- this.imageU= List.from(map['images' ]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement