mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +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,
|
||||
child: ListTile(
|
||||
contentPadding: EdgeInsets.only(left: 20.0, right: 20.0),
|
||||
title: Observer(
|
||||
builder: (_) => Text(
|
||||
title: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: <Widget>[
|
||||
Flexible(
|
||||
child: Observer(
|
||||
builder: (_) => Text(
|
||||
settingsStore.itemHeaders[title],
|
||||
style: TextStyle(
|
||||
fontSize: 16.0,
|
||||
color: Theme.of(context).primaryTextTheme.title.color),
|
||||
)),
|
||||
trailing: widget,
|
||||
fontSize: 16.0,
|
||||
color: Theme.of(context).primaryTextTheme.title.color),
|
||||
)),
|
||||
),
|
||||
Flexible(
|
||||
child: widget
|
||||
)
|
||||
],
|
||||
),
|
||||
onTap: onTaped,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue