const constructure

This commit is contained in:
Efril
2026-03-01 20:02:12 +07:00
parent 5058f99fe0
commit e625bd3d2a
142 changed files with 817 additions and 760 deletions
@@ -69,7 +69,7 @@ class RefundSuccessLeftPanel extends StatelessWidget {
color: Colors.white,
),
),
SpaceHeight(16),
const SpaceHeight(16),
Text(
'Refund Berhasil!',
style: AppStyle.h4.copyWith(
@@ -91,7 +91,7 @@ class RefundSuccessLeftPanel extends StatelessWidget {
fontWeight: FontWeight.bold,
),
),
SpaceHeight(24),
const SpaceHeight(24),
_buildInfoRow(
icon: Icons.person,
label: 'Pemesan',
@@ -205,7 +205,7 @@ class RefundSuccessLeftPanel extends StatelessWidget {
// );
},
label: 'Cetak Struk',
icon: Icon(Icons.print_rounded, color: AppColor.white),
icon: const Icon(Icons.print_rounded, color: AppColor.white),
),
),
],
@@ -70,7 +70,7 @@ class RefundSuccessRightPanel extends StatelessWidget {
children: [
Row(
children: [
Icon(
const Icon(
Icons.shopping_cart_outlined,
size: 16,
color: AppColor.textSecondary,
@@ -123,13 +123,13 @@ class RefundSuccessRightPanel extends StatelessWidget {
color: AppColor.primary.withOpacity(0.2),
borderRadius: BorderRadius.circular(8),
),
child: Icon(
child: const Icon(
Icons.payments_rounded,
size: 16,
color: AppColor.primary,
),
),
SpaceWidth(12),
const SpaceWidth(12),
Text(
'Total Refund',
style: AppStyle.lg.copyWith(fontWeight: FontWeight.bold),
@@ -192,7 +192,7 @@ class RefundSuccessRightPanel extends StatelessWidget {
color: AppColor.primaryWithOpacity(0.1),
borderRadius: BorderRadius.circular(16.0),
),
child: Icon(
child: const Icon(
Icons.restaurant_rounded,
color: AppColor.primary,
size: 28,
@@ -281,9 +281,9 @@ class RefundSuccessRightPanel extends StatelessWidget {
return Container(
width: double.infinity,
padding: const EdgeInsets.all(24.0),
decoration: BoxDecoration(
decoration: const BoxDecoration(
border: Border(bottom: BorderSide(color: AppColor.border)),
borderRadius: const BorderRadius.vertical(top: Radius.circular(24)),
borderRadius: BorderRadius.vertical(top: Radius.circular(24)),
),
child: Row(
children: [
@@ -298,13 +298,13 @@ class RefundSuccessRightPanel extends StatelessWidget {
),
borderRadius: BorderRadius.circular(16.0),
),
child: Icon(
child: const Icon(
Icons.receipt_long_rounded,
color: AppColor.primary,
size: 28,
),
),
SpaceWidth(16),
const SpaceWidth(16),
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
@@ -313,7 +313,7 @@ class RefundSuccessRightPanel extends StatelessWidget {
'Detail Pesanan',
style: AppStyle.xxl.copyWith(fontWeight: FontWeight.bold),
),
SpaceHeight(4),
const SpaceHeight(4),
Text(
'Ringkasan item yang dipesan',
style: AppStyle.md.copyWith(color: Colors.grey.shade600),