I'm using screenshot: 2.0.0 and I'm getting this error when I try to build my project.
: Error: Undefined name 'View'.
screenshot.dart:154
context == null ? fallBackView : View.maybeOf(context) ?? fallBackView;
^^^^
: Error: No named parameter with the name 'view'.
screenshot.dart:164
view: view,
^^^^
: Context: Found this candidate, but the arguments don't match.
view.dart:68
RenderView({
^^^^^^^^^^
I tried to upgrade to screenshot:2.1.0 but it's available only for Flutter SDK >= 3.10.0 and I'm currently working on a production app so I can't change to master channel.