mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
CAKE-266 | added a frame for qr code on qr_widget.dart and exchange_trade_page.dart
This commit is contained in:
@@ -146,14 +146,21 @@ class ExchangeTradeState extends State<ExchangeTradeForm> {
|
||||
aspectRatio: 1.0,
|
||||
child: Container(
|
||||
padding: EdgeInsets.all(5),
|
||||
color: Colors.white,
|
||||
decoration: BoxDecoration(
|
||||
border: Border.all(
|
||||
color: Theme.of(context)
|
||||
.accentTextTheme
|
||||
.subtitle
|
||||
.color
|
||||
)
|
||||
),
|
||||
child: QrImage(
|
||||
data: trade.inputAddress ?? fetchingLabel,
|
||||
backgroundColor: Colors.white,
|
||||
/*foregroundColor: Theme.of(context)
|
||||
backgroundColor: Colors.transparent,
|
||||
foregroundColor: Theme.of(context)
|
||||
.accentTextTheme
|
||||
.subtitle
|
||||
.color,*/
|
||||
.color,
|
||||
),
|
||||
)))),
|
||||
Spacer(flex: 3)
|
||||
|
||||
@@ -46,13 +46,17 @@ class QRWidget extends StatelessWidget {
|
||||
aspectRatio: 1.0,
|
||||
child: Container(
|
||||
padding: EdgeInsets.all(5),
|
||||
color: Colors.white,
|
||||
decoration: BoxDecoration(
|
||||
border: Border.all(
|
||||
color: Theme.of(context).accentTextTheme.
|
||||
display3.backgroundColor
|
||||
)
|
||||
),
|
||||
child: QrImage(
|
||||
data: addressListViewModel.uri.toString(),
|
||||
//backgroundColor: Colors.transparent,
|
||||
backgroundColor: Colors.white,
|
||||
/*foregroundColor: Theme.of(context).accentTextTheme.
|
||||
display3.backgroundColor,*/
|
||||
backgroundColor: Colors.transparent,
|
||||
foregroundColor: Theme.of(context).accentTextTheme.
|
||||
display3.backgroundColor,
|
||||
),
|
||||
))))),
|
||||
Spacer(flex: 3)
|
||||
|
||||
Reference in New Issue
Block a user