Skip to content

Commit f46586b

Browse files
Merge pull request LaoMengFlutter#27 from AFeiDaRen/master
解决验证码框点击不灵敏的问题
2 parents 43124ef + 2260fdd commit f46586b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flutter_verification_box/lib/src/verification_box.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class _VerificationBox extends State<VerificationBox> {
142142
},
143143
child: Stack(
144144
children: <Widget>[
145-
_buildTextField(),
145+
146146
Positioned.fill(
147147
child: Row(
148148
mainAxisAlignment: MainAxisAlignment.spaceAround,
@@ -169,6 +169,7 @@ class _VerificationBox extends State<VerificationBox> {
169169
);
170170
}),
171171
)),
172+
_buildTextField(),
172173
],
173174
),
174175
);

0 commit comments

Comments
 (0)