79195715

Date: 2024-11-16 17:36:39
Score: 1.5
Natty:
Report link

Does this work for you with the video_player plugin?

SizedBox.expand(
  child: FittedBox(
    fit: BoxFit.cover,
    child: ListenableBuilder(
      listenable: _videoController,
      builder: (context, _) => SizedBox(
        width: _videoController.value.size?.width ?? 0,
        height: _videoController.value.size?.height ?? 0,
        child: VideoPlayer(_videoController),
      ),
    ),
  ),
),
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Mäddin