previewFit constant

BoxFit const previewFit

How the camera preview is fitted into the viewport.

Implementation

static const BoxFit previewFit = BoxFit.contain;