setup camera desktop

This commit is contained in:
kyo
2026-06-22 09:35:31 +07:00
parent f6d80613d9
commit 92daeef0c5
7 changed files with 83 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,2 @@
sdk.dir=C:\\Users\\aryar\\AppData\\Local\\Android\\sdk sdk.dir=/Users/macbookair/Library/Android/sdk
flutter.sdk=C:\\Users\\aryar\\fvm\\versions\\3.32.6 flutter.sdk=/Users/macbookair/fvm/versions/3.35.3

View File

@@ -0,0 +1,40 @@
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
//
// Generated file. Do not edit.
//
import PackageDescription
let package = Package(
name: "FlutterGeneratedPluginSwiftPackage",
platforms: [
.iOS("13.0")
],
products: [
.library(name: "FlutterGeneratedPluginSwiftPackage", type: .static, targets: ["FlutterGeneratedPluginSwiftPackage"])
],
dependencies: [
.package(name: "permission_handler_apple", path: "../.packages/permission_handler_apple"),
.package(name: "path_provider_foundation", path: "../.packages/path_provider_foundation"),
.package(name: "package_info_plus", path: "../.packages/package_info_plus"),
.package(name: "geolocator_apple", path: "../.packages/geolocator_apple"),
.package(name: "geocoding_ios", path: "../.packages/geocoding_ios"),
.package(name: "native_device_orientation", path: "../.packages/native_device_orientation"),
.package(name: "camera_avfoundation", path: "../.packages/camera_avfoundation")
],
targets: [
.target(
name: "FlutterGeneratedPluginSwiftPackage",
dependencies: [
.product(name: "permission-handler-apple", package: "permission_handler_apple"),
.product(name: "path-provider-foundation", package: "path_provider_foundation"),
.product(name: "package-info-plus", package: "package_info_plus"),
.product(name: "geolocator-apple", package: "geolocator_apple"),
.product(name: "geocoding-ios", package: "geocoding_ios"),
.product(name: "native-device-orientation", package: "native_device_orientation"),
.product(name: "camera-avfoundation", package: "camera_avfoundation")
]
)
]
)

View File

@@ -0,0 +1,32 @@
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
//
// Generated file. Do not edit.
//
import PackageDescription
let package = Package(
name: "FlutterGeneratedPluginSwiftPackage",
platforms: [
.macOS("10.15")
],
products: [
.library(name: "FlutterGeneratedPluginSwiftPackage", type: .static, targets: ["FlutterGeneratedPluginSwiftPackage"])
],
dependencies: [
.package(name: "path_provider_foundation", path: "../.packages/path_provider_foundation"),
.package(name: "package_info_plus", path: "../.packages/package_info_plus"),
.package(name: "geolocator_apple", path: "../.packages/geolocator_apple")
],
targets: [
.target(
name: "FlutterGeneratedPluginSwiftPackage",
dependencies: [
.product(name: "path-provider-foundation", package: "path_provider_foundation"),
.product(name: "package-info-plus", package: "package_info_plus"),
.product(name: "geolocator-apple", package: "geolocator_apple")
]
)
]
)

View File

@@ -13,6 +13,8 @@ dependencies:
sdk: flutter sdk: flutter
cupertino_icons: ^1.0.2 cupertino_icons: ^1.0.2
camera: ^0.11.0+2 camera: ^0.11.0+2
camera_desktop:
path: ../camera_desktop
geolocator: ^14.0.0 geolocator: ^14.0.0
geocoding: ^3.0.0 geocoding: ^3.0.0
intl: ^0.20.2 intl: ^0.20.2