我刚刚通过Flutter升级更新到Flutter版本0.8.2,并更新了我的依赖关系,并且在media_query.dart中遇到了编译时错误。这是版本信息:
Flutter 0.8.2 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5ab9e70727 (13 days ago) • 2018-09-07 12:33:05 -0700
Engine • revision 58a1894a1c
Tools • Dart 2.1.0-dev.3.1.flutter-760a9690c2
我想向Flutter团队报告此事,最好的方法是什么?
这是我的实际错误:
I/flutter (19370): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (19370): The following _CompileTimeError was thrown building WidgetsApp-[GlobalObjectKey
I/flutter (19370): _MaterialAppState#b6c28](dirty, state: _WidgetsAppState#48dc8):
I/flutter (19370): 'package:flutter/src/widgets/media_query.dart': error: line 67 pos 47:
I/flutter (19370): file:///Users/pbirdsall/flutter/flutter/packages/flutter/lib/src/widgets/media_query.dart:67:47:
I/flutter (19370): Error: The getter 'boldText' isn't defined for the class 'dart.ui::AccessibilityFeatures'.
I/flutter (19370): Try correcting the name to the name of an existing getter, or defining a getter or field named
I/flutter (19370): 'boldText'.
I/flutter (19370): boldText = window.accessibilityFeatures.boldText,
I/flutter (19370): ^
I/flutter (19370): boldText = window.accessibilityFeatures.boldText,
I/flutter (19370): ^
I/flutter (19370):
答案 0 :(得分:0)
要提交问题,请访问Flutter github存储库,然后在“问题”标签下查看 https://github.com/flutter/flutter/issues
检查您的特定问题是否尚未引起其他用户的注意,如果没有,您可以遵循此处https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md
的提交准则