mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01:00
Restyle work tile
This commit is contained in:
parent
26b1f13c03
commit
ff38930e19
1 changed files with 13 additions and 2 deletions
|
|
@ -33,8 +33,19 @@ class WorkTile extends StatelessWidget {
|
||||||
: '...';
|
: '...';
|
||||||
return ListTile(
|
return ListTile(
|
||||||
leading: leading,
|
leading: leading,
|
||||||
title: Text(titleText),
|
title: DefaultTextStyle(
|
||||||
subtitle: Text(subtitleText),
|
style: Theme.of(context).textTheme.bodyText2,
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: <Widget>[
|
||||||
|
Text(
|
||||||
|
subtitleText,
|
||||||
|
style: TextStyle(fontWeight: FontWeight.bold),
|
||||||
|
),
|
||||||
|
Text(titleText),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
onTap: onTap ?? null,
|
onTap: onTap ?? null,
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue