fit property
How the camera frames should be scaled within the widget bounds.
Determines the scaling behavior for camera frames. Common values include BoxFit.cover (fills the space, may crop), BoxFit.contain (shows entire frame, may letterbox), and BoxFit.fill (stretches to fill).
Implementation
final BoxFit? fit;