Skip to content

Commit a8a67b9

Browse files
mkustermannpull[bot]
authored andcommitted
Remove workaround for a bug in dart2wasm (flutter#151603)
The bug in dart2wasm that required this workaround should be fixed now. Issue dart-lang/sdk#56129
1 parent 38de1b4 commit a8a67b9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/flutter/lib/src/widgets/focus_manager.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,9 +2222,6 @@ FocusNode? get primaryFocus => WidgetsBinding.instance.focusManager.primaryFocus
22222222
String debugDescribeFocusTree() {
22232223
String? result;
22242224
assert(() {
2225-
// TODO(yjbanov): remove this once https://github.com/dart-lang/sdk/issues/56129 has been fixed.
2226-
// ignore: unnecessary_statements
2227-
FocusManager.instance.toStringDeep;
22282225
result = FocusManager.instance.toStringDeep();
22292226
return true;
22302227
}());

0 commit comments

Comments
 (0)