升级flutter到1.12后遇到下面的错误
Compiler message:
/C:/flutter_112/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_lifecycle_state-1.0.0/lib/flutter_lifecycle_state.dart:80:30: Error: Getter not found: 'suspending'.
case AppLifecycleState.suspending:
^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
FAILURE: Build failed with an exception.
* Where:
Script 'C:\flutter_112\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780Compiler mes