const constructure
This commit is contained in:
@@ -42,9 +42,9 @@ class PaymentLeftPanel extends StatelessWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
SpaceHeight(8),
|
||||
Divider(color: AppColor.border),
|
||||
SpaceHeight(8),
|
||||
const SpaceHeight(8),
|
||||
const Divider(color: AppColor.border),
|
||||
const SpaceHeight(8),
|
||||
Expanded(
|
||||
child: state.pendingItems.isEmpty
|
||||
? const Center(child: Text('Tidak ada item'))
|
||||
@@ -52,7 +52,7 @@ class PaymentLeftPanel extends StatelessWidget {
|
||||
shrinkWrap: true,
|
||||
itemCount: state.pendingItems.length,
|
||||
separatorBuilder: (_, __) =>
|
||||
Divider(color: AppColor.border),
|
||||
const Divider(color: AppColor.border),
|
||||
itemBuilder: (context, index) {
|
||||
final item = state.pendingItems[index];
|
||||
return ListTile(
|
||||
@@ -79,13 +79,13 @@ class PaymentLeftPanel extends StatelessWidget {
|
||||
},
|
||||
),
|
||||
),
|
||||
Divider(color: AppColor.border),
|
||||
const Divider(color: AppColor.border),
|
||||
_buildSummaryRow('Subtotal', state.order.subtotal),
|
||||
_buildSummaryRow('Pajak', state.order.taxAmount),
|
||||
_buildSummaryRow('Diskon', state.order.discountAmount),
|
||||
SpaceHeight(8),
|
||||
DashedDivider(color: AppColor.border),
|
||||
SpaceHeight(8),
|
||||
const SpaceHeight(8),
|
||||
const DashedDivider(color: AppColor.border),
|
||||
const SpaceHeight(8),
|
||||
_buildSummaryRow(
|
||||
'Total',
|
||||
state.order.totalAmount,
|
||||
|
||||
Reference in New Issue
Block a user