add while background to barcode
This commit is contained in:
@@ -57,10 +57,20 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
shopName: widget.cardList[index].shop_name, height: 250),
|
shopName: widget.cardList[index].shop_name, height: 250),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 15),
|
//const SizedBox(height: 10),
|
||||||
|
Container(
|
||||||
|
width: 250,
|
||||||
|
//color: Colors.white,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
borderRadius: BorderRadius.circular(10),
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
|
child: Column(
|
||||||
|
children: [
|
||||||
|
const SizedBox(height: 10),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: 150,
|
height: 50,
|
||||||
width: 500,
|
width: 200,
|
||||||
child: BarcodeWidget(
|
child: BarcodeWidget(
|
||||||
//color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
//color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||||
barcode: Barcode.code128(),
|
barcode: Barcode.code128(),
|
||||||
@@ -79,11 +89,15 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
Text(
|
Text(
|
||||||
"Card Number: ${widget.cardList[index].card_number}",
|
"Card Number: ${widget.cardList[index].card_number}",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
color: Colors.black,
|
||||||
|
//MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user