add markdown for term
This commit is contained in:
@@ -26,21 +26,24 @@ class PrintQrCodePage extends StatelessWidget {
|
||||
Row(
|
||||
children: [
|
||||
QrImageView(
|
||||
data: 'This is a simple QR code',
|
||||
version: QrVersions.auto,
|
||||
size: 100,
|
||||
gapless: true,
|
||||
),
|
||||
data: carton.cartonNumber ?? "",
|
||||
version: QrVersions.auto,
|
||||
size: 100,
|
||||
gapless: true),
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(carton.cartonNumber ?? "",
|
||||
style: TextStyle(fontSize: 18,fontFamily: "Roboto")),
|
||||
Text(carton.userName!, style: TextStyle(fontSize: 16,fontFamily: "Roboto")),
|
||||
style: TextStyle(fontSize: 18, fontFamily: "Roboto")),
|
||||
Text(carton.userName!,
|
||||
style: TextStyle(fontSize: 16, fontFamily: "Roboto")),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 3),
|
||||
child: Text("${carton.actualWeight} lb",
|
||||
style: TextStyle(fontSize: 16, color: labelColor,fontFamily: "Roboto")),
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
color: labelColor,
|
||||
fontFamily: "Roboto")),
|
||||
)
|
||||
],
|
||||
)
|
||||
@@ -54,7 +57,7 @@ class PrintQrCodePage extends StatelessWidget {
|
||||
color: primaryColor,
|
||||
iconData: Icons.print_outlined,
|
||||
callBack: () {
|
||||
generateCartonPdf(carton);
|
||||
generateCartonPdf(carton);
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user