insert confrim payment btn in invoice

This commit is contained in:
Thinzar Win
2020-06-02 15:30:11 +06:30
parent d2a9039b27
commit 647405e1be
5 changed files with 37 additions and 25 deletions

View File

@@ -346,7 +346,23 @@ class _InvoiceEditorState extends State<InvoiceEditor> {
),
))),
],
))
)),
widget.invoice == null
? Container()
: Align(
alignment: Alignment.bottomCenter,
child: Center(
child: Container(
width: 250,
child: FlatButton(
child: Text('Confirm Payment'),
color: primaryColor,
textColor: Colors.white,
onPressed: () {
Navigator.pop(context);
},
),
)))
],
),
),