TPStreamPlayer constructor

const TPStreamPlayer({
  1. Key? key,
  2. required String assetId,
  3. required String accessToken,
  4. double aspectRatio = 16 / 9,
  5. dynamic onPlayerCreated(
    1. TPStreamsPlayerController controller
    )?,
})

Implementation

const TPStreamPlayer({
  Key? key,
  required this.assetId,
  required this.accessToken,
  this.aspectRatio = 16 / 9,
  this.onPlayerCreated,
}) : super(key: key);