Created
September 23, 2019 14:48
-
-
Save alamsyahh15/5f5454761216800d12a0c475bb7336c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class PageBasicList extends StatelessWidget { | |
const PageBasicList({Key key}) : super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text('Page Basic List'), | |
backgroundColor: Colors.red, | |
), | |
body: ListView( | |
children: <Widget>[ | |
Padding( | |
padding: EdgeInsets.all(8.0), | |
child: ListTile( | |
leading: Icon(Icons.access_alarm), | |
title: Text('alarm'), | |
), | |
), | |
ListTile( | |
leading: Icon(Icons.phone), | |
title: Text('Phone'), | |
), | |
ListTile( | |
leading: Icon(Icons.phone_android), | |
title: Text('Phone Android'), | |
) | |
], | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment