OpenTokView constructor
const
OpenTokView({
- Key? key,
- required OpenTokController controller,
- Alignment alignment = Alignment.bottomCenter,
- Axis direction = Axis.horizontal,
- double spacing = 10,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? buttonPadding,
- VoidCallback? onEndButtonTap,
- VoidCallback? onCameraButtonTap,
- void onMicButtonTap()?,
- void onVideoButtonTap()?,
- 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);