-
Notifications
You must be signed in to change notification settings - Fork 24
disable the screenshots tool by default #210
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
Conversation
PR HealthChangelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. |
@@ -61,6 +61,9 @@ base mixin DartToolingDaemonSupport | |||
/// for full list of available Flutter Widget Inspector service extensions. | |||
static const _inspectorServiceExtensionPrefix = 'ext.flutter.inspector'; | |||
|
|||
/// Whether or not to enable the screenshot tool. | |||
bool get enableScreenshots; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this default to false instead of being an abstract getter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is overridden always so the default would be meaningless here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple comments but lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changelog entry?
Disabling due to flutter/flutter#170357 - this only works today by default on the desktop environment.
We could fall back on full device screenshots but are holding off on that for now as we have to evaluate some extra potential privacy concerns with exposing the entire screen as opposed to just the flutter drawn pixels.