Commit bdf5a398 authored by Dio Maulana's avatar Dio Maulana

fix viewbill size divider

parent 50dc8a53
...@@ -512,6 +512,11 @@ class CoreBill extends StatelessWidget { ...@@ -512,6 +512,11 @@ class CoreBill extends StatelessWidget {
isHistory: isHistory, isHistory: isHistory,
tableStatus: dataBill[0].tableStatus, tableStatus: dataBill[0].tableStatus,
), ),
(dataBill[0].tableStatus == tableStatusOpen)
? const SizedBox(
height: 24,
)
: const SizedBox(),
(dataBill[0].tableStatus == tableStatusOpen) (dataBill[0].tableStatus == tableStatusOpen)
? const AddMoreOrder() ? const AddMoreOrder()
: const SizedBox(), : const SizedBox(),
...@@ -1837,59 +1842,52 @@ class AddMoreOrder extends StatelessWidget { ...@@ -1837,59 +1842,52 @@ class AddMoreOrder extends StatelessWidget {
color: backgroundWhite, color: backgroundWhite,
padding: const EdgeInsets.symmetric(horizontal: paddingLeftRight), padding: const EdgeInsets.symmetric(horizontal: paddingLeftRight),
// color: Colors.red, // color: Colors.red,
child: Column( child: Row(
children: [ children: [
Expanded(
child: Container(
child: defaultText(
context,
'Tambahkan menu lainnya?',
maxLines: 2,
overFlow: TextOverflow.ellipsis,
style: viewbillStyle(
font: 16,
fontWeight: FontWeight.w400,
),
),
),
),
const SizedBox( const SizedBox(
height: 24, width: 19,
), ),
Row( GestureDetector(
children: [ onTap: () {
Expanded( Navigator.push(
child: Container( context,
child: defaultText( MaterialPageRoute(
context, builder: (_) => const NewHome2(),
'Tambahkan menu lainnya?',
maxLines: 2,
overFlow: TextOverflow.ellipsis,
style: viewbillStyle(
font: 16,
fontWeight: FontWeight.w400,
),
),
), ),
);
},
child: Container(
width: 98,
height: 30,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(21),
color: buttonColor,
), ),
const SizedBox( child: Center(
width: 19, child: defaultText(
), context,
GestureDetector( 'Tambah',
onTap: () { style: addButton(
Navigator.push( font: 8,
context,
MaterialPageRoute(
builder: (_) => const NewHome2(),
),
);
},
child: Container(
width: 98,
height: 30,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(21),
color: buttonColor,
),
child: Center(
child: defaultText(
context,
'Tambah',
style: addButton(
font: 8,
),
),
), ),
), ),
) ),
], ),
), )
], ],
), ),
); );
......
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