windows_native_camera 1.0.0+1 copy "windows_native_camera: ^1.0.0+1" to clipboard
windows_native_camera: ^1.0.0+1 copied to clipboard

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

📸 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.');
  }
}
0
likes
150
points
3
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Homepage

License

MIT (license)

Dependencies

cupertino_icons, flutter, path

More

Packages that depend on windows_native_camera