Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcode 12 ios14 运行报错 #15

Open
clin003 opened this issue Sep 17, 2020 · 1 comment
Open

xcode 12 ios14 运行报错 #15

clin003 opened this issue Sep 17, 2020 · 1 comment

Comments

@clin003
Copy link

clin003 commented Sep 17, 2020

Flutter 1.22.0-10.0.pre.221
xcode 12 模拟器iphone ios14环境

flutter run 后 报错
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:710:9: Error: Type 'Overflow' not found.
final Overflow overflow;
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:756:5: Error: Type 'Overflow' not found.
Overflow overflow = Overflow.clip,
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:845:3: Error: Type 'Overflow' not found.
Overflow get overflow => _overflow;
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:846:3: Error: Type 'Overflow' not found.
Overflow _overflow;
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:848:16: Error: Type 'Overflow' not found.
set overflow(Overflow value) {
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:469:17: Error: The getter 'Overflow' isn't defined for the class '_FSuperState'.
- '_FSuperState' is from 'package:fsuper/fsuper.dart' ('../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Overflow'.
overflow: Overflow.visible,
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:667:21: Error: Getter not found: 'Overflow'.
this.overflow = Overflow.clip,
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:710:9: Error: 'Overflow' isn't a type.
final Overflow overflow;
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:739:33: Error: 'Overflow' isn't a type.
properties.add(EnumProperty('overflow', overflow));
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:756:5: Error: 'Overflow' isn't a type.
Overflow overflow = Overflow.clip,
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:756:25: Error: Getter not found: 'Overflow'.
Overflow overflow = Overflow.clip,
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:846:3: Error: 'Overflow' isn't a type.
Overflow _overflow;
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:848:16: Error: 'Overflow' isn't a type.
set overflow(Overflow value) {
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:1049:22: Error: The getter 'Overflow' isn't defined for the class '_RenderStack'.
- '_RenderStack' is from 'package:fsuper/fsuper.dart' ('../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Overflow'.
if (_overflow == Overflow.clip && _hasVisualOverflow) {
^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/fsuper-2.0.2/lib/fsuper.dart:1068:33: Error: 'Overflow' isn't a type.
properties.add(EnumProperty('overflow', overflow));
^^^^^^^^

@chenBingX
Copy link
Member

尝试切换一下flutter版本至:
Flutter 1.22.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 1aafb3a8b9 (9 weeks ago) • 2020-11-13 09:59:28 -0800
Engine • revision 2c956a31c0
Tools • Dart 2.10.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants