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> { ...@@ -214,40 +214,54 @@ class _OrderViewBillNewState extends State<OrderViewBillNew> {
fontWeight: FontWeight.w300, fontWeight: FontWeight.w300,
), ),
), ),
(widget.billDetail.variant.isNotEmpty) for (int k = 0;
? Column( k < widget.billDetail.variant.length;
crossAxisAlignment: k++)
CrossAxisAlignment.start, // Container(
mainAxisSize: MainAxisSize.min, // width: MediaQuery.of(context).size.width -
children: [ // paddingLeftRightBill -
for (int k = 0; // paddingLeftRightBill -
k < widget.billDetail.variant.length; // 88, // 88 itu besar image dan space sized box pemisah
k++) // color: Colors.red,
Row( // child: Row(
mainAxisAlignment: // mainAxisAlignment: MainAxisAlignment.start,
MainAxisAlignment.start, // children: [
children: [ // defaultText(
defaultText( // context,
context, // "${widget.billDetail.variant[k].caption} : ",
"${widget.billDetail.variant[k].caption} : ", // style: viewbillStyle(
style: viewbillStyle( // font: 12,
font: 12, // fontWeight: FontWeight.w300,
fontWeight: FontWeight.w300, // ),
), // ),
), // defaultText(
defaultText( // context,
context, // widget.billDetail.variant[k].variantName
widget.billDetail.variant[k].variantName.join(', '), // .join(', '),
style: viewbillStyle( // style: viewbillStyle(
font: 12, // font: 12,
fontWeight: FontWeight.w300, // fontWeight: FontWeight.w300,
), // ),
) // )
], // ],
) // ),
], // ),
) Container(
: const SizedBox(), 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( const SizedBox(
height: 6, height: 6,
), ),
......
...@@ -1107,9 +1107,11 @@ class CoreBill extends StatelessWidget { ...@@ -1107,9 +1107,11 @@ class CoreBill extends StatelessWidget {
// ); // );
// } // }
}, },
child: const ButtonComponent( child: ButtonComponent(
buttonColor: successColor, 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