Last updated:
0 purchases
rz camera
RzCamera #
RzCamera Package for Clicking images and taking video with the edit functionality.
Installation #
Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
rz_camera: ^0.0.1+11
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:rz_camera/rz_camera.dart';
copied to clipboard
Example #
There are a number of properties that you can modify:
cameraOrientation /// default CameraOrientation.any
defaultCamera /// default DefaultCamera.back
isCameraChange /// default false
isImageEdit /// default true
successCallback /// Function(RzCameraResponse rzCameraResponse)
overlayWidget /// required (should be any Widget)
class RzCamera extends StatefulWidget {
final CameraOrientation cameraOrientation;
final DefaultCamera defaultCamera;
final bool isCameraChange;
final bool isImageEdit;
final Widget overlayWidget;
final Function(RzCameraResponse rzCameraResponse) successCallback;
const RzCamera({
Key? key,
this.cameraOrientation = CameraOrientation.any,
this.defaultCamera = DefaultCamera.back,
this.isCameraChange = false,
this.isImageEdit = true,
required this.overlayWidget,
required this.successCallback,
}) : super(key: key);
@override
State<RzCamera> createState() => _RzCameraState();
}
copied to clipboard
enum DefaultCamera { front, back }
copied to clipboard
enum CameraOrientation { portrait, landscape, any }
copied to clipboard
Next Goals #
✅
Add Operating system Support.
Now, you can check with android, in few days support for IOS and Web.
✅
Video Record.
Record video and Edited video callback and without edit video call back.
❌
Add more Features to the package.# RzCamera
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.