TPStreamPlayer constructor
const
TPStreamPlayer({
- Key? key,
- required String assetId,
- required String accessToken,
- double aspectRatio = 16 / 9,
- dynamic onPlayerCreated(
- TPStreamsPlayerController controller
Implementation
const TPStreamPlayer({
Key? key,
required this.assetId,
required this.accessToken,
this.aspectRatio = 16 / 9,
this.onPlayerCreated,
}) : super(key: key);