This commit is contained in:
efrilm
2025-10-30 16:35:47 +07:00
parent adc90a90a0
commit b335102677
20 changed files with 1591 additions and 79 deletions
@@ -13,6 +13,7 @@ class OrderTitle extends StatelessWidget {
final DateTime endDate;
final Function(String) onChanged;
final void Function(DateTime? start, DateTime? end) onDateRangeChanged;
final int totalOrder;
const OrderTitle({
super.key,
required this.title,
@@ -20,6 +21,7 @@ class OrderTitle extends StatelessWidget {
required this.endDate,
required this.onChanged,
required this.onDateRangeChanged,
required this.totalOrder,
});
@override
@@ -46,7 +48,7 @@ class OrderTitle extends StatelessWidget {
style: AppStyle.md.copyWith(fontWeight: FontWeight.w600),
),
Text(
'0 Pesanan',
'$totalOrder Pesanan',
style: AppStyle.md.copyWith(fontWeight: FontWeight.w600),
),
],