|
|
|
|
@ -163,45 +163,45 @@ class _PaymentMethodState extends State<PaymentMethod> {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(top: 25.0),
|
|
|
|
|
child: Flex(
|
|
|
|
|
direction: Axis.horizontal,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Container(
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
updateSelectedPaymentMethod("ApplePay");
|
|
|
|
|
},
|
|
|
|
|
child: Card(
|
|
|
|
|
elevation: 3.0,
|
|
|
|
|
margin: EdgeInsets.fromLTRB(8.0, 16.0, 8.0, 8.0),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
|
borderRadius: BorderRadius.circular(10),
|
|
|
|
|
side: selectedPaymentMethod == "ApplePay"
|
|
|
|
|
? BorderSide(
|
|
|
|
|
color: Colors.green, width: 5.0)
|
|
|
|
|
: BorderSide(
|
|
|
|
|
color: Colors.transparent, width: 0.0),
|
|
|
|
|
),
|
|
|
|
|
child: Container(
|
|
|
|
|
height: 120.0,
|
|
|
|
|
padding: EdgeInsets.all(20.0),
|
|
|
|
|
child: SvgPicture.asset(
|
|
|
|
|
"assets/images/new-design/applepay.svg"),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Container(),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
// Container(
|
|
|
|
|
// margin: EdgeInsets.only(top: 25.0),
|
|
|
|
|
// child: Flex(
|
|
|
|
|
// direction: Axis.horizontal,
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Expanded(
|
|
|
|
|
// child: Container(
|
|
|
|
|
// child: InkWell(
|
|
|
|
|
// onTap: () {
|
|
|
|
|
// updateSelectedPaymentMethod("ApplePay");
|
|
|
|
|
// },
|
|
|
|
|
// child: Card(
|
|
|
|
|
// elevation: 3.0,
|
|
|
|
|
// margin: EdgeInsets.fromLTRB(8.0, 16.0, 8.0, 8.0),
|
|
|
|
|
// color: Colors.white,
|
|
|
|
|
// shape: RoundedRectangleBorder(
|
|
|
|
|
// borderRadius: BorderRadius.circular(10),
|
|
|
|
|
// side: selectedPaymentMethod == "ApplePay"
|
|
|
|
|
// ? BorderSide(
|
|
|
|
|
// color: Colors.green, width: 5.0)
|
|
|
|
|
// : BorderSide(
|
|
|
|
|
// color: Colors.transparent, width: 0.0),
|
|
|
|
|
// ),
|
|
|
|
|
// child: Container(
|
|
|
|
|
// height: 120.0,
|
|
|
|
|
// padding: EdgeInsets.all(20.0),
|
|
|
|
|
// child: SvgPicture.asset(
|
|
|
|
|
// "assets/images/new-design/applepay.svg"),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// Expanded(
|
|
|
|
|
// child: Container(),
|
|
|
|
|
// ),
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 150.0,
|
|
|
|
|
),
|
|
|
|
|
|