checkout page

This commit is contained in:
efrilm
2025-10-27 01:54:35 +07:00
parent e8fd683077
commit 3135dde317
9 changed files with 530 additions and 64 deletions
@@ -150,6 +150,42 @@ class _OrderMenuState extends State<OrderMenu> {
),
],
),
SpaceHeight(8.0),
SizedBox(
height: 40,
child: Row(
children: [
Flexible(
child: TextFormField(
cursorColor: AppColor.primary,
controller: _controller,
style: const TextStyle(fontSize: 12, color: AppColor.black),
decoration: InputDecoration(hintText: 'Catatan Pesanan'),
),
),
const SpaceWidth(16.0),
GestureDetector(
onTap: () {
context.read<CheckoutFormBloc>().add(
CheckoutFormEvent.removeItem(
widget.data.product,
widget.data.variant,
),
);
},
child: Container(
height: 40,
width: 40,
decoration: BoxDecoration(
color: AppColor.primary,
borderRadius: BorderRadius.circular(8.0),
),
child: Icon(Icons.delete_outline, color: AppColor.white),
),
),
],
),
),
],
);
}