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

The type 'AutovalidateMode' is not exhaustively #209

Closed
lingyun000 opened this issue Aug 9, 2024 · 4 comments
Closed

The type 'AutovalidateMode' is not exhaustively #209

lingyun000 opened this issue Aug 9, 2024 · 4 comments

Comments

@lingyun000
Copy link

DAET:3.5
FLUTTER:3.24

../../../../.pub-cache/hosted/pub.flutter-io.cn/json_theme-6.5.0+1/lib/src/codec/theme_encoder.dart:249:15: Error: The type 'AutovalidateMode' is not exhaustively matched by the switch cases since it doesn't match 'AutovalidateMode.onUnfocus'.

  • 'AutovalidateMode' is from 'package:flutter/src/widgets/form.dart' ('../../flutter/packages/flutter/lib/src/widgets/form.dart').
    Try adding a default case or cases that match 'AutovalidateMode.onUnfocus'.
    switch (value) {
    ^
    Target kernel_snapshot_program failed: Exception

Command PhaseScriptExecution failed with a nonzero exit code

@DenisBeauget
Copy link

Fix is open here : #208

@jpeiffer
Copy link
Contributor

jpeiffer commented Sep 4, 2024

Merged but not yet deployed. Seems 3.24 has a lot of depreciated stuff I need to remove before it will deploy.

@cyrilcolinet
Copy link
Contributor

Hi back @jpeiffer thanks for the merge. I did a workaround in #216.
It just ignore the deprecation for now (since its not removed completely in latest flutter version).

Hope you're not too busy ;)

@jpeiffer
Copy link
Contributor

jpeiffer commented Sep 9, 2024

Deployed tonight.

@jpeiffer jpeiffer closed this as completed Sep 9, 2024
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

4 participants