sender and consignee selection

This commit is contained in:
tzw
2024-03-05 16:32:54 +06:30
parent b443293cd0
commit 247140de6b
5 changed files with 63 additions and 59 deletions

View File

@@ -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))
],