📸 windows_native_camera

Welcome to windows_native_camera – the simplest way to launch the native Windows Camera app directly from your Flutter app and instantly retrieve the captured photo path!

🌟 Overview

windows_native_camera is a Windows-only Flutter plugin designed to streamline capturing photos using the built-in Windows Camera app. Whether you're building an inspection app, document scanner, or simply need quick photo input, this package delivers a seamless and native experience.

🚀 Features

✅ Launch Native Camera App
✅ Capture Image Path
✅ File System Monitoring
✅ Auto Close Camera
✅ Lightweight & Fast

🎥 Demo

Wanna see it in action? Check out the screen recording below:
â–¶ Watch Demo Video

🔥 Example

import 'package:windows_native_camera/windows_native_camera.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  String filePath = (await WindowsCameraTrigger.triggerCamera())!;

  if (filePath != null) {
    debugPrint('Captured image path: $filePath');
  } else {
    debugPrint('No image captured.');
  }
}