@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("First Page"),
),
body: Center(
child: Container(
width:MediaQuery.of(context).size.width-50,
height:300,
child:Column(
mainAxisSize:MainAxisSize.min,
children:[
Stack(
children: [
Container(
height:180,
width:double.infinity,
color:Colors.grey,
child:Text('Video Thumbnail')
),
Positioned(
top:80,
left:(MediaQuery.of(context).size.width-50)/2,
child:Icon(Icons.play_arrow)
)],
),
ListTile(
title:Text('Video Title'),
subtitle:Text('Description goes here'),
trailing:IconButton(
icon:Icon(Icons.share),
onPressed:(){
//TODO
})
)
]
)
)
),
);
}