camera_utils 0.1.7 copy "camera_utils: ^0.1.7" to clipboard
camera_utils: ^0.1.7 copied to clipboard

outdated

Flutter plugin for capturing and picking image and videos and getting thumbnail from videos on the Android & iOS devices.

For help getting started with Flutter, view our online documentation.

Pub

camera_utils #

Flutter plugin for capturing and picking image and videos and getting thumbnail from videos on the Android & iOS devices.

Implementation in Flutter #

Simply add a dependency to you pubspec.yaml for camera_utils.

Then import the package in your dart file with

import 'package:camera_utils/camera_utils.dart';

Screenshots #

Usages #

  1. Capture Image

    // Capture image
    final path = await CameraUtils.captureImage;
    
  2. Pick Image

    // Pick image
    final path = await CameraUtils.pickImage;
    
  3. Capture Video

    // Capture video
    final path = await CameraUtils.captureVideo;
    
  4. Pick Video

    // Pick video
    final path = await CameraUtils.pickVideo;
    
  5. Thumbnail from Video

    // Pass the path and get thumbnail from video
    Future<String> thumbPath = CameraUtils.getThumbnail(path);
      thumbPath.then((path) {
        setState(() {
          _thumbPath = path;
          print(path);
        });
      });
    
3
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Flutter plugin for capturing and picking image and videos and getting thumbnail from videos on the Android & iOS devices.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on camera_utils