camera_tizen 0.3.2 icon indicating copy to clipboard operation
camera_tizen: ^0.3.2 copied to clipboard

Tizen implementation of the camera plugin

camera_tizen #

pub package

The Tizen implementation of camera.

Supported devices #

This plugin is currently experimental and does not support any devices.

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.9.4
  camera_tizen: ^0.3.2

Then you can import camera in your Dart code:

import 'package:camera/camera.dart';

For detailed usage, see https://pub.dev/packages/camera#example.

Notes #

For the camera preview to rotate correctly, you have to modify the camera_preview.dart file as follows.

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

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

Publisher

verified publisher icontizen.org

Tizen implementation of the camera plugin

Homepage
Repository (GitHub)

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

Dependencies

camera_platform_interface, flutter

More

Packages that depend on camera_tizen