4
2
Fork 0

standardized list view spacing - closes #10, closes #11

pull/31/head
Sudharshan S. 2019-02-12 15:55:25 +08:00
parent 079c10e82f
commit 519d1f6f73
Signed by: sudharshan
GPG Key ID: C861C97AAF3D9559
4 changed files with 7 additions and 4 deletions

View File

@ -32,9 +32,9 @@ TextTheme buildTextTheme(TextTheme base) {
display1: base.display1
.copyWith(fontSize: 20.0, fontWeight: FontWeight.w500),
title:
base.title.copyWith(fontSize: 16.0, fontWeight: FontWeight.w500),
base.title.copyWith(fontSize: 18.0, fontWeight: FontWeight.w500),
subtitle: base.subtitle
.copyWith(fontSize: 12.0, fontWeight: FontWeight.w400),
.copyWith(fontSize: 13.0, fontWeight: FontWeight.w400),
body2:
base.body2.copyWith(fontSize: 16.0, fontWeight: FontWeight.w500),
body1:

View File

@ -6,7 +6,7 @@ class ContactItem extends StatelessWidget {
Widget build(BuildContext context) {
return ListTile(
contentPadding:
EdgeInsets.only(top: 5.0, left: 20.0, right: 20.0, bottom: 5.0),
EdgeInsets.only(top: 3.0, left: 20.0, right: 20.0, bottom: 3.0),
leading: Row(mainAxisSize: MainAxisSize.min, children: <Widget>[
/*Icon(Icons.star, color: Theme.of(context).primaryColorDark),*/
Text("A",

View File

@ -7,6 +7,8 @@ class ConversationItem extends StatelessWidget {
return ListTile(
isThreeLine: true,
onTap: () => {},
contentPadding:
EdgeInsets.only(top: 3.0, left: 20.0, right: 20.0, bottom: 3.0),
title: Text("Family Chat", style: Theme.of(context).textTheme.title),
subtitle: Text("Mum I might have forgotten to close the windows",
maxLines: 2,

View File

@ -36,7 +36,8 @@ class TopBar extends StatelessWidget {
height: 24.0)),
Spacer(),
IconButton(icon: Icon(Icons.search), onPressed: () {}),
IconButton(icon: Icon(Icons.dehaze), onPressed: () {})
IconButton(
icon: Icon(Icons.add_comment), onPressed: () {})
],
),
Positioned(