mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 12:54:38 +00:00
CWA-177 | fixed UI bug in the settings text list row
This commit is contained in:
parent
ed31909694
commit
402b94a299
1 changed files with 15 additions and 6 deletions
|
@ -18,14 +18,23 @@ class SettingsTextListRow extends StatelessWidget {
|
||||||
color: Theme.of(context).accentTextTheme.headline.backgroundColor,
|
color: Theme.of(context).accentTextTheme.headline.backgroundColor,
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
contentPadding: EdgeInsets.only(left: 20.0, right: 20.0),
|
contentPadding: EdgeInsets.only(left: 20.0, right: 20.0),
|
||||||
title: Observer(
|
title: Row(
|
||||||
builder: (_) => Text(
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
children: <Widget>[
|
||||||
|
Flexible(
|
||||||
|
child: Observer(
|
||||||
|
builder: (_) => Text(
|
||||||
settingsStore.itemHeaders[title],
|
settingsStore.itemHeaders[title],
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16.0,
|
fontSize: 16.0,
|
||||||
color: Theme.of(context).primaryTextTheme.title.color),
|
color: Theme.of(context).primaryTextTheme.title.color),
|
||||||
)),
|
)),
|
||||||
trailing: widget,
|
),
|
||||||
|
Flexible(
|
||||||
|
child: widget
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
onTap: onTaped,
|
onTap: onTaped,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue