Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter capture image from camera

import 'package:image_picker/image_picker.dart';

final _imagePicker = ImagePicker();
 
var _pickedFile = await _imagePicker.getImage(source: ImageSource.camera);
File _imageFilePicked = File(_pickedFile.path);
 
PREVIOUS NEXT
Tagged: #flutter #capture #image #camera
ADD COMMENT
Topic
Name
8+7 =