[image_picker] Add desktop support - implementations (#4172)

Platform implementation portion of
https://github.com/flutter/packages/pull/3882

Updates the Windows implementation to use the new base class for camera delegation, and creates new macOS and Linux implementations that are near-duplicates.

These are separate packages, rather than a single shared package, because it's likely that they will diverge over time (e.g., the TODO for macOS to use a system image picker control on newer versions of macOS), and the amount of code that could be shared is minimal anyway.

Part of https://github.com/flutter/flutter/issues/102115 Part of https://github.com/flutter/flutter/issues/102320 Part of https://github.com/flutter/flutter/issues/85100
This commit is contained in:
stuartmorgan
2023-06-09 17:40:38 -04:00
committed by GitHub
parent 914d120da1
commit ecf2b68093
59 changed files with 3807 additions and 117 deletions

View File

@ -1,3 +1,4 @@
# Can't use Flutter integration tests due to native modal UI.
- file_selector
- file_selector_linux
- image_picker_linux

View File

@ -1,3 +1,4 @@
# Can't use Flutter integration tests due to native modal UI.
- file_selector
- file_selector_macos
- image_picker_macos