Skip to content

Commit 6c9f5d8

Browse files
committed
Corrected typo
1 parent ef6978b commit 6c9f5d8

File tree

1 file changed

+35
-23
lines changed

1 file changed

+35
-23
lines changed

lib/src/widgets/checkout/checkout_widget.dart

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -76,32 +76,44 @@ class _CheckoutWidgetState extends BaseState<CheckoutWidget>
7676

7777
@override
7878
Widget buildChild(BuildContext context) {
79-
var securedWidget = Wrap(
80-
crossAxisAlignment: WrapCrossAlignment.center,
81-
runAlignment: WrapAlignment.center,
82-
alignment: WrapAlignment.center,
79+
var securedWidget = Column(
80+
crossAxisAlignment: CrossAxisAlignment.center,
81+
mainAxisAlignment: MainAxisAlignment.center,
8382
children: <Widget>[
84-
Icon(Icons.lock, size: 10),
85-
Padding(
86-
padding: EdgeInsetsDirectional.only(end: 5, start: 3),
87-
child: Text(
88-
"Sucured by",
89-
style: TextStyle(fontSize: 10),
90-
),
83+
Row(
84+
crossAxisAlignment: CrossAxisAlignment.center,
85+
mainAxisAlignment: MainAxisAlignment.center,
86+
children: <Widget>[
87+
Icon(Icons.lock, size: 10),
88+
Padding(
89+
padding: EdgeInsetsDirectional.only(start: 3),
90+
child: Text(
91+
"Secured by",
92+
style: TextStyle(fontSize: 10),
93+
),
94+
)
95+
],
9196
),
92-
if (widget.logo != null)
93-
Padding(
94-
padding: EdgeInsetsDirectional.only(end: 3),
95-
child: Image.asset(
96-
'assets/images/paystack_icon.png',
97+
SizedBox(height: 5),
98+
Row(
99+
crossAxisAlignment: CrossAxisAlignment.center,
100+
mainAxisAlignment: MainAxisAlignment.center,
101+
children: <Widget>[
102+
if (widget.logo != null)
103+
Padding(
104+
padding: EdgeInsetsDirectional.only(end: 3),
105+
child: Image.asset(
106+
'assets/images/paystack_icon.png',
107+
package: 'flutter_paystack',
108+
height: 16,
109+
),
110+
),
111+
Image.asset(
112+
'assets/images/paystack.png',
97113
package: 'flutter_paystack',
98-
height: 16,
99-
),
100-
),
101-
Image.asset(
102-
'assets/images/paystack.png',
103-
package: 'flutter_paystack',
104-
height: 15,
114+
height: 15,
115+
)
116+
],
105117
)
106118
],
107119
);

0 commit comments

Comments
 (0)