Skip to content
pubscout

camera_windows

0.3.1, released 7 days ago by flutter.dev

Windows implementation of the camera plugin for getting info and controlling cameras

WASM-ready
$ flutter pub add camera_windows
Source repository

What it does

Provides the Windows platform-specific implementation for the Flutter camera plugin. It allows developers to control cameras, capture images, and record video on Windows applications by depending alongside the main camera package.

AI-written summary of version 0.3.0+1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a Flutter application targeting Windows that needs camera access.
  • You want to capture photos or record videos within a Windows desktop app.

Skip it when

  • You need advanced features like focus mode, flash mode, exposure controls, or streaming of frames which are currently unsupported on Windows.
  • You are developing for non-Windows platforms.

Strengths

  • Integrates seamlessly with the main camera plugin ecosystem.
  • Supports custom video output path and video settings like FPS and bitrate.

Weaknesses

  • Many features are missing or limited on Windows, such as flash mode, focus modes, device orientation, and frame streaming due to Windows API limitations.
  • Not an endorsed federated plugin, so it must be explicitly added to pubspec.yaml.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
4

Requires adding both the camera package and camera_windows explicitly to pubspec.yaml, and ensuring correct path resolution for saving files.

// In pubspec.yaml:
dependencies:
  camera: ^0.11.0
  camera_windows: ^0.3.0+1

Alternatives

Packages that do the same job and could replace camera_windows.

Works with

Packages commonly used together with camera_windows: ones it builds on, ones built on it, and its own family.