fixed syntax errors
Tanner Silva committed
Feb 2, 2021 at 20:23 UTC
d1c7c992799e9cd17b278fb83354ddae64200fcf
1 file changed
+17
-22
lib/src/screens/trade_details/trade_details_page.dart
+17
-22
@@ -27,28 +27,23 @@ class TradeDetailsPage extends BasePage {
27
itemBuilder: (_, __, index) {
28
final item = tradeDetailsViewModel.items[index];
29
30
- if (item is TrackTradeListItem) {
31
- return GestureDetector(
32
- onTap: item.onTap,
33
- child: StandartListRow(
34
- title: '${item.title}',
35
- value: '${item.value}'
36
- ));
37
- }
30
+ if (item is TrackTradeListItem) {
31
+ return GestureDetector(
32
+ onTap: item.onTap,
33
+ child: StandartListRow(
34
+ title: '${item.title}', value: '${item.value}'));
35
+ }
36
39
- if (item is SectionStandardListItem) {
40
- return GestureDetector(
41
- onTap: () {
42
- Clipboard.setData(ClipboardData(text: '${item.value}'));
43
- showBar<void>(context, S
44
- .of(context)
45
- .copied_to_clipboard);
46
- },
47
- child: StandartListRow(
48
- title: '${item.title}',
49
- value: '${item.value}'
50
- ));
51
- }
37
+ if (item is SectionStandardListItem) {
38
+ return GestureDetector(
39
+ onTap: () {
40
+ Clipboard.setData(ClipboardData(text: '${item.value}'));
41
+ showBar<void>(context, S.of(context).copied_to_clipboard);
42
+ },
43
+ child: StandartListRow(
44
+ title: '${item.title}', value: '${item.value}'));
45
+ }
46
+ });
47
});
48
}
54
-}
\ No newline at end of file
49
+}