728x90
반응형
SMALL
# 참고
import 'package:flutter/material.dart'; class ListEx01 extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('ListEx01'), ), body: SafeArea( child: ListView( children: <Widget>[ ListTile( title: Text('List1'), leading: Icon(Icons.map), ), ListTile( title: Text('List2'), leading: Icon(Icons.mail), ), ListTile( title: Text('List3'), leading: Icon(Icons.loyalty), trailing: Icon(Icons.perm_camera_mic), onTap: () { Navigator.pop(context); }, subtitle: Text('subtitle'), isThreeLine: true, dense: true, ), ], ), ), ); } } | cs |
728x90
반응형
LIST
'Program > Flutter' 카테고리의 다른 글
Flutter List Widget Ex03 (0) | 2018.11.09 |
---|---|
Flutter List Widget Ex02 (0) | 2018.11.09 |
Flutter(Dart) double dot(..) (0) | 2018.10.30 |
Flutter에 firebase_admob 적용 시 주의사항 (0) | 2018.10.29 |
Flutter + Firebase + Google Sign (0) | 2018.10.29 |