You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I just upgraded to screenshot version 2.0.0 from 1.3.0 and i am getting the following error:
`../../AppData/Local/Pub/Cache/hosted/pub.dev/screenshot-2.0.0/lib/screenshot.dart:154:42: Error: Undefined name 'View'.
context == null ? fallBackView : View.maybeOf(context) ?? fallBackView;
^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dev/screenshot-2.0.0/lib/screenshot.dart:164:7: Error: No named parameter with the name 'view'.
view: view,
^^^^
/C:/src/flutter/flutter/packages/flutter/lib/src/rendering/view.dart:68:3: Context: Found this candidate, but the arguments don't match.
RenderView({
^^^^^^^^^^
Target kernel_snapshot failed: Exception
screenshot: 2.0.0 is a migration to latest FlutterView from ui.window. This is supported in flutter version 3.10. If you are using flutter below 3.10 please consider using screenshot: 1.3.0.
I am closing this issue. If you think that is incorrect please feel free to reopen.
Hello, I just upgraded to screenshot version 2.0.0 from 1.3.0 and i am getting the following error:
`../../AppData/Local/Pub/Cache/hosted/pub.dev/screenshot-2.0.0/lib/screenshot.dart:154:42: Error: Undefined name 'View'.
context == null ? fallBackView : View.maybeOf(context) ?? fallBackView;
^^^^
../../AppData/Local/Pub/Cache/hosted/pub.dev/screenshot-2.0.0/lib/screenshot.dart:164:7: Error: No named parameter with the name 'view'.
view: view,
^^^^
/C:/src/flutter/flutter/packages/flutter/lib/src/rendering/view.dart:68:3: Context: Found this candidate, but the arguments don't match.
RenderView({
^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where:
Script 'C:\src\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1157
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
BUILD FAILED in 2m 9s
Exception: Gradle task assembleDebug failed with exit code 1
`
I'm running flutter version 3.7.12
Flutter (Channel stable, 3.7.12, on Microsoft Windows [Version 10.0.22621.1702], locale en-KE)
I have reverted back to version 1.3.0 so that it works
The text was updated successfully, but these errors were encountered: