camera_snap 0.1.0
camera_snap: ^0.1.0 copied to clipboard
Capture image using the selfie camera or the back camera.
import 'package:example/picker_example.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: PickerExample(),
);
}
}
copied to clipboard