Remove workaround for a bug in dart2wasm (#151603)
The bug in dart2wasm that required this workaround should be fixed now. Issue https://github.com/dart-lang/sdk/issues/56129
This commit is contained in:
committed by
GitHub
parent
cec2400658
commit
0c21fbc582
@@ -2222,9 +2222,6 @@ FocusNode? get primaryFocus => WidgetsBinding.instance.focusManager.primaryFocus
|
||||
String debugDescribeFocusTree() {
|
||||
String? result;
|
||||
assert(() {
|
||||
// TODO(yjbanov): remove this once https://github.com/dart-lang/sdk/issues/56129 has been fixed.
|
||||
// ignore: unnecessary_statements
|
||||
FocusManager.instance.toStringDeep;
|
||||
result = FocusManager.instance.toStringDeep();
|
||||
return true;
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user