Skip to content

Commit 86d6d17

Browse files
removed a14n todos (flutter#76278)
1 parent 3620314 commit 86d6d17

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/flutter/lib/src/cupertino/text_field.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)