camera 0.4.2 copy "camera: ^0.4.2" to clipboard
camera: ^0.4.2 copied to clipboard

outdated

A Flutter plugin for getting information about and controlling the camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing video, and streaming image buffers to dart.

0.4.2 #

  • Add sensor orientation value to CameraDescription.

0.4.1 #

  • Camera methods are ran in a background thread on iOS.

0.4.0+3 #

  • Fixed a crash when the plugin is registered by a background FlutterView.

0.4.0+2 #

  • Fix orientation of captured photos when camera is used for the first time on Android.

0.4.0+1 #

  • Remove categories.

0.4.0 #

  • Breaking Change Change iOS image stream format to ImageFormatGroup.bgra8888 from ImageFormatGroup.yuv420.

0.3.0+4 #

  • Fixed bug causing black screen on some Android devices.

0.3.0+3 #

  • Log a more detailed warning at build time about the previous AndroidX migration.

0.3.0+2 #

  • Fix issue with calculating iOS image orientation in certain edge cases.

0.3.0+1 #

  • Remove initial method call invocation from static camera method.

0.3.0 #

  • Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.

0.2.9+1 #

  • Fix a crash when failing to start preview.

0.2.9 #

  • Save photo orientation data on iOS.

0.2.8 #

  • Add access to the image stream from Dart.
  • Use cameraController.startImageStream(listener) to process the images.

0.2.7 #

  • Fix issue with crash when the physical device's orientation is unknown.

0.2.6 #

  • Update the camera to use the physical device's orientation instead of the UI orientation on Android.

0.2.5 #

  • Fix preview and video size with satisfying conditions of multiple outputs.

0.2.4 #

  • Unregister the activity lifecycle callbacks when disposing the camera.

0.2.3 #

  • Added path_provider and video_player as dev dependencies because the example uses them.
  • Updated example path_provider version to get Dart 2 support.

0.2.2 #

  • iOS image capture is done in high quality (full camera size)

0.2.1 #

  • Updated Gradle tooling to match Android Studio 3.1.2.

0.2.0 #

  • Added support for video recording.
  • Changed the example app to add video recording.

A lot of breaking changes in this version:

Getter changes:

  • Removed isStarted
  • Renamed initialized to isInitialized
  • Added isRecordingVideo

Method changes:

  • Renamed capture to takePicture
  • Removed start (the preview starts automatically when initialize is called)
  • Added startVideoRecording(String filePath)
  • Removed stop (the preview stops automatically when dispose is called)
  • Added stopVideoRecording

0.1.2 #

  • Fix Dart 2 runtime errors.

0.1.1 #

  • Fix Dart 2 runtime error.

0.1.0 #

  • Breaking change. Set SDK constraints to match the Flutter beta release.

0.0.4 #

  • Revert regression of CameraController.capture() introduced in v. 0.0.3.

0.0.3 #

  • Improved resource cleanup on Android. Avoids crash on Activity restart.
  • Made the Future returned by CameraController.dispose() and CameraController.capture() actually complete on Android.

0.0.2 #

  • Simplified and upgraded Android project template to Android SDK 27.
  • Moved Android package to io.flutter.plugins.
  • Fixed warnings from the Dart 2.0 analyzer.

0.0.1 #

  • Initial release
2041
likes
0
pub points
100%
popularity

Publisher

verified publisherflutter.dev

A Flutter plugin for getting information about and controlling the camera on Android and iOS. Supports previewing the camera feed, capturing images, capturing video, and streaming image buffers to dart.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on camera