FlutterVapView constructor
const
FlutterVapView({
- Key? key,
- required FlutterVapController controller,
- VapCallback? onVideoStart,
- VapCallback? onVideoFinish,
- VapCallback? onVideoDestroy,
- VapFrameCallback? onVideoRender,
- VapErrorCallback? onFailed,
- VapScaleType scaleType = VapScaleType.fitXY,
Implementation
const FlutterVapView({
super.key,
required this.controller,
this.onVideoStart,
this.onVideoFinish,
this.onVideoDestroy,
this.onVideoRender,
this.onFailed,
this.scaleType = VapScaleType.fitXY,
});