From b3673d7c6359e61d61643866f52d6378874fff3a Mon Sep 17 00:00:00 2001 From: Oleksandr Sobol Date: Sat, 18 Apr 2020 12:17:52 +0300 Subject: [PATCH] CWA-198 | fixed borders of date_section_raw, trade_raw and transaction_raw --- lib/src/screens/dashboard/widgets/date_section_raw.dart | 8 +++++++- lib/src/screens/dashboard/widgets/trade_row.dart | 8 +++++++- lib/src/screens/dashboard/widgets/transaction_raw.dart | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/lib/src/screens/dashboard/widgets/date_section_raw.dart b/lib/src/screens/dashboard/widgets/date_section_raw.dart index 1fc0b4452..595171cb4 100644 --- a/lib/src/screens/dashboard/widgets/date_section_raw.dart +++ b/lib/src/screens/dashboard/widgets/date_section_raw.dart @@ -38,7 +38,13 @@ class DateSectionRaw extends StatelessWidget { return Container( padding: EdgeInsets.only(top: 10, bottom: 10, left: 20, right: 20), alignment: Alignment.center, - color: PaletteDark.historyPanel, + decoration: BoxDecoration( + color: PaletteDark.historyPanel, + border: Border.all( + width: 1, + color: PaletteDark.historyPanel + ), + ), child: Text(title, style: TextStyle(fontSize: 12, color: PaletteDark.historyPanelText)) ); diff --git a/lib/src/screens/dashboard/widgets/trade_row.dart b/lib/src/screens/dashboard/widgets/trade_row.dart index 6927638b1..e74fe5912 100644 --- a/lib/src/screens/dashboard/widgets/trade_row.dart +++ b/lib/src/screens/dashboard/widgets/trade_row.dart @@ -26,7 +26,13 @@ class TradeRow extends StatelessWidget { return InkWell( onTap: onTap, child: Container( - color: PaletteDark.historyPanel, + decoration: BoxDecoration( + color: PaletteDark.historyPanel, + border: Border.all( + width: 0.5, + color: PaletteDark.historyPanel + ), + ), padding: EdgeInsets.only(top: 5, bottom: 5, left: 20, right: 20), child: Row(children: [ Container( diff --git a/lib/src/screens/dashboard/widgets/transaction_raw.dart b/lib/src/screens/dashboard/widgets/transaction_raw.dart index 824cd167c..0aa79b2c8 100644 --- a/lib/src/screens/dashboard/widgets/transaction_raw.dart +++ b/lib/src/screens/dashboard/widgets/transaction_raw.dart @@ -24,7 +24,13 @@ class TransactionRow extends StatelessWidget { return InkWell( onTap: onTap, child: Container( - color: PaletteDark.historyPanel, + decoration: BoxDecoration( + color: PaletteDark.historyPanel, + border: Border.all( + width: 0.5, + color: PaletteDark.historyPanel + ), + ), padding: EdgeInsets.only(top: 5, bottom: 5, left: 20, right: 20), child: Row(children: [ Container(