darwin-camera icon indicating copy to clipboard operation
darwin-camera copied to clipboard

Enable Flashlight/Torch

Open yrift opened this issue 4 years ago • 1 comments

I am using darwing-camera library, i dont find how to i can enable torch when capture image?

yrift avatar Jun 18 '20 13:06 yrift

Hey, Under the hood this library uses https://pub.dev/packages/camera package to render the camera surface. As far as I know, that package does not support enabling flash at the moment. If it does, It should be easy to add I suppose. cc @askprateek

Ref: https://github.com/atlanhq/darwin-camera/issues/16#issuecomment-624964386

ishaan1995 avatar Jun 23 '20 21:06 ishaan1995