Mobile. Share Screen. Server page. Make card title follow theme
This commit is contained in:
parent
4d95ada300
commit
b86f27f8bd
@ -482,11 +482,12 @@ class PaddingCard extends StatelessWidget {
|
|||||||
child: titleIcon)
|
child: titleIcon)
|
||||||
: const SizedBox.shrink(),
|
: const SizedBox.shrink(),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Text(
|
child: Text(title!,
|
||||||
title!,
|
style: Theme.of(context)
|
||||||
style: const TextStyle(
|
.textTheme
|
||||||
fontSize: 18, fontWeight: FontWeight.bold),
|
.titleLarge
|
||||||
),
|
// @todo once the font weight is defined in theme, remove it here to be equal insted of individual
|
||||||
|
?.merge(TextStyle(fontWeight: FontWeight.bold))),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
)));
|
)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user