captureMode property
How this platform family shares a screen, or null where it shares none
at all. Independent of supported: a family names its mode even where no
capture ships for it.
Implementation
@override
XScreenCaptureMode? get captureMode => kIsWeb
? null
: switch (defaultTargetPlatform) {
TargetPlatform.macOS => XScreenCaptureMode.pickerDriven,
TargetPlatform.android ||
TargetPlatform.iOS => XScreenCaptureMode.consentDriven,
_ => null,
};