flutter_timer_camera 1.0.0 copy "flutter_timer_camera: ^1.0.0" to clipboard
flutter_timer_camera: ^1.0.0 copied to clipboard

A Flutter package that allows you to open the camera and capture images with a timer logic. Perfect for those moments when you need a delay before the shot!

Flutter timer camera #

A Flutter package that allows you to open the camera and capture images with a timer logic. Perfect for those moments when you need a delay before the shot!

Android iOS
Support SDK 21+ iOS 11.0 +

we support only thess version since this package adopts the camera plugin

Features #

  • Open the customized camera directly from Flutter app.
  • Set a timer to delay the capture.
  • Switch Camera front and back.

Installation #

To use this package, add flutter_timer_camera as a dependency in your pubspec.yaml file.

dependencies:
  flutter_timer_camera: ^1.0.0

iOS

Add camera usage description on ios/Runner/Info.plist.

<key>NSCameraUsageDescription</key>
<string>describe why you use camera access</string>

Android

Change minimumSdk version to at least 21

minSdkVersion 21

Usage #

import 'package:flutter_timer_camera/flutter_timer_camera.dart';

.
.
.

ElevatedButton(
  onPressed: () {
    showTimerCamera(
      context: context,
      onSubmit: (capturedImage) {
        setState(() {
          currentImage = capturedImage;
        });
      },
    );
  },
  child: const Text('Open Camera'),
),

Contributing #

Any kind of pull requests are welcome.Feel free to fork the project, open issues, and submit PRs.

License #

The 3-Clause BSD

1
likes
0
pub points
42%
popularity

Publisher

unverified uploader

A Flutter package that allows you to open the camera and capture images with a timer logic. Perfect for those moments when you need a delay before the shot!

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

camera, camera_platform_interface, custom_sliding_segmented_control, flutter, flutter_riverpod, freezed_annotation

More

Packages that depend on flutter_timer_camera