canCaptureImage top-level constant

bool const canCaptureImage

Whether or not captureImage is supported.

This can be used to skip tests on platforms that don't support capturing images.

Currently this is true except when tests are running in the context of a web browser (flutter test --platform chrome).

Implementation

const bool canCaptureImage = true;