previewFit constant
BoxFit
const previewFit
How the camera preview is fitted into the viewport.
Implementation
static const BoxFit previewFit = BoxFit.contain;
How the camera preview is fitted into the viewport.
static const BoxFit previewFit = BoxFit.contain;