camera_macos 0.0.9 camera_macos: ^0.0.9 copied to clipboard
macOS camera package implementation. Supports both internal and external cameras, can take pictures and record video with audio as well.
import 'package:camera_macos_example/main_container_widget.dart';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
localizationsDelegates: [
GlobalMaterialLocalizations.delegate,
],
home: MainContainerWidget(),
);
}
}