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

2.0.0版本编译报错 #10

Closed
momtboy opened this issue Jul 16, 2020 · 2 comments
Closed

2.0.0版本编译报错 #10

momtboy opened this issue Jul 16, 2020 · 2 comments

Comments

@momtboy
Copy link

momtboy commented Jul 16, 2020

`/D:/FlutterSDK/flutter/.pub-cache/hosted/pub.flutter-io.cn/fcontrol-1.0.0/lib/fcontrol.dart:157:3: Error: Type 'MouseCursor' not found.
MouseCursor effectiveMouseCursor;
^^^^^^^^^^^
/D:/FlutterSDK/flutter/.pub-cache/hosted/pub.flutter-io.cn/fcontrol-1.0.0/lib/fcontrol.dart:157:3: Error: 'MouseCursor' isn't a type.
MouseCursor effectiveMouseCursor;
^^^^^^^^^^^
/D:/FlutterSDK/flutter/.pub-cache/hosted/pub.flutter-io.cn/fcontrol-1.0.0/lib/fcontrol.dart:161:60: Error: 'MouseCursor' isn't a type.
effectiveMouseCursor = MaterialStateProperty.resolveAs(
^^^^^^^^^^^
/D:/FlutterSDK/flutter/.pub-cache/hosted/pub.flutter-io.cn/fcontrol-1.0.0/lib/fcontrol.dart:162:7: Error: The getter 'MaterialStateMouseCursor' isn't defined for the class 'FControlState'.

  • 'FControlState' is from 'package:fcontrol/fcontrol.dart' ('/D:/FlutterSDK/flutter/.pub-cache/hosted/pub.flutter-io.cn/fcontrol-1.0.0/lib/fcontrol.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'MaterialStateMouseCursor'.
    MaterialStateMouseCursor.clickable,
    ^^^^^^^^^^^^^^^^^^^^^^^^
    /D:/FlutterSDK/flutter/.pub-cache/hosted/pub.flutter-io.cn/fcontrol-1.0.0/lib/fcontrol.dart:248:7: Error: No named parameter with the name 'cursor'.
    cursor: effectiveMouseCursor,
    `
@momtboy
Copy link
Author

momtboy commented Jul 22, 2020

官方没人答复一下???????

@chenBingX
Copy link
Member

参考这个 Issues 哦
#8

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