camera_tizen 0.2.0 copy "camera_tizen: ^0.2.0" to clipboard
camera_tizen: ^0.2.0 copied to clipboard

outdated

Tizen implementation of the camera plugin

camera_tizen #

The Tizen implementation of camera.

Supported devices #

This plugin is an experimental plug-in for the future

  • Nothing

Required privileges #

To use this plugin, add below lines under the <manifest> section in your tizen-manifest.xml file,

<privileges>
    <privilege>http://tizen.org/privilege/camera</privilege>
    <privilege>http://tizen.org/privilege/recorder</privilege>
</privileges>

Usage #

This package is not an endorsed implementation of camera. Therefore, you have to include camera_tizen alongside camera as dependencies in your pubspec.yaml file.

dependencies:
  camera: ^0.8.1
  camera_tizen: ^0.2.0

Then you can import camera in your Dart code:

import 'package:camera/camera.dart';

For detailed usage, see https://github.com/flutter/plugins/tree/master/packages/camera/camera#example.

Notes #

CameraPreview currently does not support other platforms except Android and iOS. Therefor the camera preview to orient properly, you have to modify the camera_preview.dart.

  Widget _wrapInRotatedBox({required Widget child}) {
    // if (defaultTargetPlatform != TargetPlatform.android) {
    //   return child;
    // }

    return RotatedBox(
      quarterTurns: _getQuarterTurns(),
      child: child,
    );
  }
0
likes
0
pub points
0%
popularity

Publisher

verified publishertizen.org

Tizen implementation of the camera plugin

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on camera_tizen