@@ -292,8 +292,7 @@ class CupertinoTextField extends StatefulWidget {
292292 }) : assert (textAlign != null ),
293293 assert (readOnly != null ),
294294 assert (autofocus != null ),
295- // TODO(a14n): uncomment when issue is fixed, https://github.com/dart-lang/sdk/issues/43407
296- assert (obscuringCharacter != null /* && obscuringCharacter.length == 1*/ ),
295+ assert (obscuringCharacter != null && obscuringCharacter.length == 1 ),
297296 assert (obscureText != null ),
298297 assert (autocorrect != null ),
299298 smartDashesType = smartDashesType ?? (obscureText ? SmartDashesType .disabled : SmartDashesType .enabled),
@@ -444,8 +443,7 @@ class CupertinoTextField extends StatefulWidget {
444443 }) : assert (textAlign != null ),
445444 assert (readOnly != null ),
446445 assert (autofocus != null ),
447- // TODO(a14n): uncomment when issue is fixed, https://github.com/dart-lang/sdk/issues/43407
448- assert (obscuringCharacter != null /* && obscuringCharacter.length == 1*/ ),
446+ assert (obscuringCharacter != null && obscuringCharacter.length == 1 ),
449447 assert (obscureText != null ),
450448 assert (autocorrect != null ),
451449 smartDashesType = smartDashesType ?? (obscureText ? SmartDashesType .disabled : SmartDashesType .enabled),
0 commit comments