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

run error #2

Open
ldy1691github opened this issue Jul 1, 2022 · 0 comments
Open

run error #2

ldy1691github opened this issue Jul 1, 2022 · 0 comments

Comments

@ldy1691github
Copy link

../../../../flutter/packages/flutter/lib/src/widgets/form.dart:448:14: Error: Type 'List' of the case expression is not a subtype of type 'AutovalidateMode' of this switch expression.

  • 'List' is from 'dart:core'.
  • 'AutovalidateMode' is from 'package:flutter/src/widgets/form.dart' ('../../../../flutter/packages/flutter/lib/src/widgets/form.dart').
    case [AutovalidateMode.always]:
    ^
    ../../../../flutter/packages/flutter/lib/src/widgets/form.dart:447:22: Context: The switch expression is here.
    switch (widget.autovalidateMode) {
    ^

macbook pro is M1pro dart 2.17 flutter 3.0

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

1 participant