fluttercommunity / fluttercommunity/chewie
How to change the size of Chewie?
Open
- Dominant language
- Dart
- Stars
- 2.1k
- Forks
- 1.1k
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 6
Description
Chewie return PlayerWithControls in build, but in PlayerWithControls,
I found it returns a SizedBox with screen height and screen width
i want to change the size to wrap with the video player, how to change the size of it?
```
return Center(
child: SizedBox(
height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width,
child: AspectRatio(
aspectRatio: calculateAspectRatio(context),
child: buildPlayerWithControls(chewieController, context),
),
),
);
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.