ApiVideoCameraPreview constructor

const ApiVideoCameraPreview({
  1. Key? key,
  2. required ApiVideoLiveStreamController controller,
  3. BoxFit fit = BoxFit.contain,
  4. Widget? child,
})

Creates a new ApiVideoCameraPreview instance for controller and a child overlay.

Implementation

const ApiVideoCameraPreview(
    {super.key,
    required this.controller,
    this.fit = BoxFit.contain,
    this.child});