remove unnecessary string interpolations (#49622)

This commit is contained in:
Alexandre Ardhuin
2020-01-31 18:30:21 +01:00
committed by GitHub
parent 275ec45ec4
commit b5f328e37e
55 changed files with 78 additions and 76 deletions

View File

@@ -29,7 +29,7 @@ class _StockSymbolView extends StatelessWidget {
Row(
children: <Widget>[
Text(
'${stock.symbol}',
stock.symbol,
key: ValueKey<String>('${stock.symbol}_symbol_name'),
style: Theme.of(context).textTheme.headline3,
),
@@ -43,7 +43,7 @@ class _StockSymbolView extends StatelessWidget {
height: 8.0
),
Text('Market Cap', style: headings),
Text('${stock.marketCap}'),
Text(stock.marketCap),
Container(
height: 8.0
),