faceapidetectionweb 1.0.0+2
faceapidetectionweb: ^1.0.0+2 copied to clipboard
A Flutter package for face detection and expression analysis using JavaScript interop, providing camera controls and photo capture capabilities for web applications. this
example/main.dart
import 'package:flutter/material.dart';
import 'counter_widget.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Web Counter',
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.blue,
useMaterial3: true,
),
home: const HomePage(),
);
}
}
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Face Detection'),
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
),
body: const CounterWidget(),
);
}
}
copied to clipboard