mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47: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(
|
||||
leading: leading,
|
||||
title: Text(titleText),
|
||||
subtitle: Text(subtitleText),
|
||||
title: DefaultTextStyle(
|
||||
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,
|
||||
);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue