OpenTokView constructor

const OpenTokView({
  1. Key? key,
  2. required OpenTokController controller,
  3. Alignment alignment = Alignment.bottomCenter,
  4. Axis direction = Axis.horizontal,
  5. double spacing = 10,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? buttonPadding,
  8. VoidCallback? onEndButtonTap,
  9. VoidCallback? onCameraButtonTap,
  10. void onMicButtonTap(
    1. bool
    )?,
  11. void onVideoButtonTap(
    1. bool
    )?,
  12. VoidCallback? onFullScreenButtonTap,
})

Constructs an instance of OpenTokView with the given controller.

Implementation

const OpenTokView({
  Key? key,
  required this.controller,
  this.alignment = Alignment.bottomCenter,
  this.direction = Axis.horizontal,
  this.spacing = 10,
  this.padding,
  this.buttonPadding,
  this.onEndButtonTap,
  this.onCameraButtonTap,
  this.onMicButtonTap,
  this.onVideoButtonTap,
  this.onFullScreenButtonTap,
}) : super(key: key);