Browse Source

fix UI list style

pull/6/head
Sun 4 years ago
parent
commit
9495d99cb0
  1. 2
      lib/apps/chat/list.dart
  2. 26
      lib/apps/service/list.dart

2
lib/apps/chat/list.dart

@ -89,7 +89,7 @@ class ListChat extends StatelessWidget { @@ -89,7 +89,7 @@ class ListChat extends StatelessWidget {
),
)
]),
SizedBox(height: 5.0),
const SizedBox(height: 4.0),
Row(
children: [
Expanded(

26
lib/apps/service/list.dart

@ -105,16 +105,24 @@ class ListInnerService extends StatelessWidget { @@ -105,16 +105,24 @@ class ListInnerService extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Expanded(
child: Text(this.name, maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 16.0))
),
Expanded(
child: Text(this.bio, maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(color: Color(0xFFADB0BB), fontSize: 12.0)),
Row(
children: [
Expanded(
child: Text(this.name, maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(fontSize: 16.0)))
]
),
const SizedBox(height: 4.0),
Row(
children: [
Expanded(
child: Text(this.bio, maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(color: Color(0xFFADB0BB), fontSize: 12.0)),
),
]
)
],
),
),

Loading…
Cancel
Save