效果
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'flutter Demo',
home: Scaffold(
appBar: new AppBar(title: new Text('ListView Widget')),
body: new ListView(
children: <Widget>[
new ListTile(
leading: new Icon(Icons.perm_camera_mic),
title: new Text('perm_camera_mic')),
new ListTile(
leading: new Icon(Icons.add_call),
title: new Text('add_call')),
new ListTile(
leading: new Icon(Icons.add_shopping_cart),
title: new Text('add_shopping_cart')),
],
)));
}
}