void main(List<String> args) {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'XXX',
home: Scaffold(
appBar: new AppBar(
title: new Text('appBar'),
),
body: new ListView(
children: <Widget>[
new Image.network(
'https://t7.baidu.com/it/u=1819248061,230866778&fm=193&f=GIF',
scale: 4,
width: 100,
height: 20,
fit: BoxFit.fill,
),
new ListTile(
leading: new Icon(Icons.border_right),
title: new Text('neirong'),
),
new ListTile(
leading: new Icon(Icons.border_right),
title: new Text('neirong'),
),
new ListTile(
leading: new Icon(Icons.ios_share),
title: new Text('neirong'),
)
],
),
backgroundColor: Colors.lightBlue,
));
}
}