VideoExpanded constructor
const
VideoExpanded({
- Key? key,
- required String videoAsset,
- Function? onSkip,
- required String userName,
- required String companyTitle,
- Duration triggerEndRemaining = const Duration(seconds: 0),
- Function? onEndAction,
- String? avatarUrl,
- VideoPlayerController? videoPlayerController,
- bool testMode = false,
- Color bgColor = defaultBgColor,
- bool animateOnVideoEnd = false,
- Function? close,
- Widget? child,
Implementation
const VideoExpanded({
Key? key,
required this.videoAsset,
this.onSkip,
required this.userName,
required this.companyTitle,
this.triggerEndRemaining = const Duration(seconds: 0),
this.onEndAction,
this.avatarUrl,
this.videoPlayerController,
this.testMode = false,
this.bgColor = defaultBgColor,
this.animateOnVideoEnd = false,
this.close,
this.child,
}) : super(key: key);