mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 11:38:56 +03:30
beta commit
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
import 'package:cssd/models/my_package_model.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class PackageHistoryDate extends StatelessWidget {
|
||||
const PackageHistoryDate({
|
||||
super.key,
|
||||
required double deviceBlockSize,
|
||||
required this.packages,
|
||||
}) : _deviceBlockSize = deviceBlockSize;
|
||||
|
||||
final double _deviceBlockSize;
|
||||
final MyPackageResultObject packages;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Row(
|
||||
children: [
|
||||
Text(
|
||||
'From',
|
||||
style: TextStyle(
|
||||
fontSize: 3 * _deviceBlockSize,
|
||||
color: Colors.grey,
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
width: 6.0,
|
||||
),
|
||||
Text(
|
||||
packages.fromDate!,
|
||||
style: TextStyle(
|
||||
fontSize: 4 * _deviceBlockSize,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
),
|
||||
Spacer(),
|
||||
Icon(
|
||||
Icons.keyboard_arrow_right,
|
||||
color: Colors.grey,
|
||||
),
|
||||
Spacer(),
|
||||
Text(
|
||||
'To',
|
||||
style: TextStyle(
|
||||
fontSize: 3 * _deviceBlockSize,
|
||||
color: Colors.grey,
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
width: 6.0,
|
||||
),
|
||||
Text(
|
||||
packages.toDate!,
|
||||
style: TextStyle(
|
||||
fontSize: 4 * _deviceBlockSize,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user