sender and consignee selection
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import 'package:fcs/domain/entities/carton.dart';
|
||||
import 'package:fcs/helpers/theme.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_vector_icons/flutter_vector_icons.dart';
|
||||
|
||||
import '../carton/print_qr_code_page.dart';
|
||||
import 'carton_search.dart';
|
||||
|
||||
class CartonListRow extends StatelessWidget {
|
||||
@@ -69,7 +71,14 @@ class CartonListRow extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(width: 15),
|
||||
IconButton(
|
||||
onPressed: () {},
|
||||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
CupertinoPageRoute(
|
||||
builder: (context) =>
|
||||
PrintQrCodePage(carton: carton)),
|
||||
);
|
||||
},
|
||||
icon: Icon(AntDesign.qrcode,
|
||||
color: Colors.black))
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user