Sync transaction box with flutter_lints v2.0.1
This commit is contained in:
parent
1da1b3b92d
commit
ba02ccbb3c
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ class _TransactionBoxState extends State<TransactionBox> {
|
|||
title: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Text('#' + widget.orderId.toString(), style: const TextStyle(color: Colors.white),),
|
||||
Text('#${widget.orderId}', style: const TextStyle(color: Colors.white),),
|
||||
Text(widget.status, style: const TextStyle(color: Colors.white),)
|
||||
],
|
||||
),
|
||||
|
@ -128,7 +128,7 @@ class _TransactionBoxState extends State<TransactionBox> {
|
|||
if (snapshot.hasData) {
|
||||
var productData = snapshot.data;
|
||||
return TransactionProductBox(
|
||||
imageUrl: 'https://nekoya.moe.team/img/' + productData[0]['IMAGE'],
|
||||
imageUrl: 'https://nekoya.moe.team/img/${productData[0]['IMAGE']}',
|
||||
title: productData[0]['TITLE'],
|
||||
quantity: orderData[index]["quantity"],
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue