0 purchases
unimoniupi
unimoniupi #
Widget build(BuildContext context) {
return Dialog(
elevation: 5,
backgroundColor: Colors.transparent,
child: Stack(
alignment: Alignment.center,
children:
padding: EdgeInsets.only(
top: 10,
),
//margin: EdgeInsets.only(top: Constants.avatarRadius),
decoration: BoxDecoration(
shape: BoxShape.rectangle,
color: Colors.white,
borderRadius: BorderRadius.circular(5),
),
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Text(
"Payment via",
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.normal,
color: Colors.black),
textAlign: TextAlign.right,
),
ListTile(
title: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Icon(Icons.payment,
color: Constants.darkBlue, size: 18),
Text(
" UPI ID",
style: TextStyle(fontSize: 15),
textAlign: TextAlign.start,
),
],
),
onTap: () async {
Navigator.of(context).pop();
showDialog(
barrierDismissible: false,
context: context,
builder: (BuildContext context) {
return EnterUPI(
typePaymentOrRequest:
this.typePaymentOrRequest);
//EnterUPI(payType); //success error info
});
}),
ListTile(
title: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Icon(Icons.qr_code_scanner,
color: Constants.darkBlue, size: 18),
Text(
" QR code",
style: TextStyle(fontSize: 15),
textAlign: TextAlign.start,
),
],
),
onTap: () async {
Navigator.of(context).pop();
Navigator.of(context).push(
new MaterialPageRoute(builder: (_) => QRCodeScan()),
);
}),
],
),
),
],
),
);
copied to clipboard
}
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.