mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-14 17:55:58 -07:00
fix: Use icon/text styling
This commit is contained in:
parent
bc4be789ec
commit
3f9b1e7068
1 changed files with 9 additions and 5 deletions
|
|
@ -68,12 +68,16 @@ class SettingsListTile extends StatelessWidget {
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
ColorFiltered(
|
DefaultTextStyle.merge(
|
||||||
colorFilter: ColorFilter.mode(
|
style: TextStyle(
|
||||||
contentColor ?? Theme.of(context).colorScheme.onSurface,
|
color: contentColor ?? Theme.of(context).colorScheme.onSurface,
|
||||||
BlendMode.srcIn,
|
),
|
||||||
|
child: IconTheme(
|
||||||
|
data: IconThemeData(
|
||||||
|
color: contentColor ?? Theme.of(context).colorScheme.onSurface,
|
||||||
|
),
|
||||||
|
child: leadingWidget,
|
||||||
),
|
),
|
||||||
child: leadingWidget,
|
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Column(
|
child: Column(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue