camera_plugin 0.0.1 copy "camera_plugin: ^0.0.1" to clipboard
camera_plugin: ^0.0.1 copied to clipboard

add code scan component to ios.

camera_plugin #

Add scan component to flutter camera plugin for ios // android to do.


List<CameraDescription> myCameras = await availableCameras();

for (final camera in myCameras) {
    if (camera.lensDirection == CameraLensDirection.back) {
        cameraController = CameraController(camera, ResolutionPreset.max,
        enableAudio: false, scanCaptureChanged: (value) {

            // get scan result
        });
    } else if (camera.lensDirection == CameraLensDirection.front) {}
}


// in widget tree
if (cameraController != null) 
    CameraPreview(cameraController!),

          
1
likes
110
pub points
35%
popularity

Publisher

unverified uploader

add code scan component to ios.

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

camera_platform_interface, flutter, quiver

More

Packages that depend on camera_plugin