VideoExpanded constructor

const VideoExpanded({
  1. Key? key,
  2. required String videoAsset,
  3. Function? onSkip,
  4. required String userName,
  5. required String companyTitle,
  6. Duration triggerEndRemaining = const Duration(seconds: 0),
  7. Function? onEndAction,
  8. String? avatarUrl,
  9. VideoPlayerController? videoPlayerController,
  10. bool testMode = false,
  11. Color bgColor = defaultBgColor,
  12. bool animateOnVideoEnd = false,
  13. Function? close,
  14. 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);