onLatestImageAvailable typedef

onLatestImageAvailable = void Function(CameraImage image)

Signature for a callback receiving the a camera image.

This is used by CameraController.startImageStream.

Implementation

// TODO(stuartmorgan): Fix this naming the next time there's a breaking change
// to this package.
// ignore: camel_case_types
typedef onLatestImageAvailable = void Function(CameraImage image);