mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 13:28:54 +03:30
2.2.0
This commit is contained in:
Regular → Executable
+13
-18
@@ -1,5 +1,6 @@
|
||||
import 'package:cssd/config/colors.dart';
|
||||
import 'package:cssd/models/package_model.dart';
|
||||
import 'package:cssd/widgets/MyItemsScreens/Detail/transfer_destroy_button.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
@@ -9,11 +10,13 @@ class PackageDetailsDataBox extends StatelessWidget {
|
||||
Key? key,
|
||||
required this.datas,
|
||||
required double deviceBlockSize,
|
||||
required this.goToAddLabelPage,
|
||||
}) : _deviceBlockSize = deviceBlockSize,
|
||||
super(key: key);
|
||||
|
||||
final PackageDetailObject datas;
|
||||
final double _deviceBlockSize;
|
||||
final VoidCallback goToAddLabelPage;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -255,24 +258,16 @@ class PackageDetailsDataBox extends StatelessWidget {
|
||||
SizedBox(
|
||||
height: 50,
|
||||
),
|
||||
// TransferDestroyButton(
|
||||
// deviceBlockSize: _deviceBlockSize,
|
||||
// firstColor: kPurple,
|
||||
// secondColor: kPurpleSub,
|
||||
// onTap: () {
|
||||
// Navigator.pushNamed(
|
||||
// context,
|
||||
// Routes.labelAddScreen,
|
||||
// arguments: {
|
||||
// 'id': datas.id,
|
||||
// },
|
||||
// );
|
||||
// },
|
||||
// text: 'Make a Label For Package',
|
||||
// ),
|
||||
// SizedBox(
|
||||
// height: 5.0,
|
||||
// ),
|
||||
TransferDestroyButton(
|
||||
deviceBlockSize: _deviceBlockSize,
|
||||
firstColor: kPurple,
|
||||
secondColor: kPurpleSub,
|
||||
onTap: goToAddLabelPage,
|
||||
text: 'Make a Label For Package',
|
||||
),
|
||||
SizedBox(
|
||||
height: 5.0,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user