gallery_camera_image 0.0.9 gallery_camera_image: ^0.0.9 copied to clipboard
Flutter plugin for Android and iOS supports cropping & picking images from the image library, and taking new pictures with the camera.
import 'package:flutter/material.dart';
import 'package:gallery_camera_image/gallery_camera_image.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: GalleryCamareImage(),
);
}
}