chewie
chewie copied to clipboard
Option to customize the overlay colour during hover.
There should be an option inside chewie controller to mention the color for overlay.
Currently it's Colors.black54 and can't be changed.
A workaround to remove that overlay is to wrap the player into a Theme widget with iOS target platform:
final themeData = Theme.of(context);
return Theme(
data: themeData.copyWith(platform: TargetPlatform.iOS),
child: Chewie(controller: chewieController),
);
As a side effect, you will get CupertinoControls so set the controls class explicitly if you care.
If you want an overlay of a different color, you can add it through ChewieController.overlay.