Commit ab387a28 authored by Jasa Digital's avatar Jasa Digital

overflow fixed viewbill dan konfirmasi page

parent 8148fb6c
This diff is collapsed.
......@@ -214,40 +214,54 @@ class _OrderViewBillNewState extends State<OrderViewBillNew> {
fontWeight: FontWeight.w300,
),
),
(widget.billDetail.variant.isNotEmpty)
? Column(
crossAxisAlignment:
CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
for (int k = 0;
k < widget.billDetail.variant.length;
k++)
Row(
mainAxisAlignment:
MainAxisAlignment.start,
children: [
defaultText(
context,
"${widget.billDetail.variant[k].caption} : ",
style: viewbillStyle(
font: 12,
fontWeight: FontWeight.w300,
),
),
defaultText(
context,
widget.billDetail.variant[k].variantName.join(', '),
style: viewbillStyle(
font: 12,
fontWeight: FontWeight.w300,
),
)
],
)
],
)
: const SizedBox(),
for (int k = 0;
k < widget.billDetail.variant.length;
k++)
// Container(
// width: MediaQuery.of(context).size.width -
// paddingLeftRightBill -
// paddingLeftRightBill -
// 88, // 88 itu besar image dan space sized box pemisah
// color: Colors.red,
// child: Row(
// mainAxisAlignment: MainAxisAlignment.start,
// children: [
// defaultText(
// context,
// "${widget.billDetail.variant[k].caption} : ",
// style: viewbillStyle(
// font: 12,
// fontWeight: FontWeight.w300,
// ),
// ),
// defaultText(
// context,
// widget.billDetail.variant[k].variantName
// .join(', '),
// style: viewbillStyle(
// font: 12,
// fontWeight: FontWeight.w300,
// ),
// )
// ],
// ),
// ),
Container(
width: MediaQuery.of(context).size.width -
paddingLeftRightBill -
paddingLeftRightBill -
88,
child: defaultText(
context,
"${widget.billDetail.variant[k].caption} : ${widget.billDetail.variant[k].variantName.join(', ')}",
// maxLines: 2,
// overFlow: TextOverflow.ellipsis,
style: viewbillStyle(
font: 12,
fontWeight: FontWeight.w300,
),
),
),
const SizedBox(
height: 6,
),
......
......@@ -1107,9 +1107,11 @@ class CoreBill extends StatelessWidget {
// );
// }
},
child: const ButtonComponent(
child: ButtonComponent(
buttonColor: successColor,
teksButton: 'Buat Pesanan Baru',
teksButton: (isHistory)
? 'Kembali'
: 'Buat Pesanan Baru',
),
),
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment