VapView constructor
const
VapView({})
Creates a VapView widget.
All parameters are optional and have sensible defaults:
scaleType: How to scale the video (defaults to ScaleType.fitCenter)repeat: Number of repetitions (defaults to 0 for no repeat)mute: Whether to mute audio (defaults to false)vapTagContents: Initial content for VAP tags (optional)onViewCreated: Callback to receive the controller (optional)
Implementation
const VapView(
{super.key,
this.scaleType = ScaleType.fitCenter,
this.repeat = 0,
this.mute = false,
this.vapTagContents,
this.onViewCreated});