Merge pull request #50 from yaso-meth/QOL-Barcode-padding

add padding around barcode
This commit is contained in:
yaso-meth
2025-01-28 10:35:54 +02:00
committed by GitHub

View File

@@ -67,8 +67,10 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
), ),
child: Column( child: Column(
children: [ children: [
const SizedBox(height: 10), // const SizedBox(height: 10),
SizedBox( Padding(
padding: const EdgeInsets.all(10.0),
child: SizedBox(
height: 75, height: 75,
width: 300, width: 300,
child: BarcodeWidget( child: BarcodeWidget(
@@ -86,7 +88,8 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
// //showValue: true, // //showValue: true,
// ), // ),
), ),
const SizedBox(height: 10), ),
// const SizedBox(height: 10),
Text( Text(
widget.cardList[index].card_number, widget.cardList[index].card_number,
style: const TextStyle( style: const TextStyle(