betterplayer
betterplayer copied to clipboard
CustomControlsBuilder not working[BUG]
History check yes
Describe the bug I've tried to use the customControlsBuilder, but it won't work. Also their is no actual example/documentation that would help.
To Reproduce Steps to reproduce the behavior:
- just setup everything like in the documentation for a normal player and the try adding a customControlsBuilder based on the "Documentation".
Expected behavior A fully customized controls UI.
Better Player version
- Version: 0.0.82
Smartphone (please complete the following information):
- Device: [e.g. Huawei Mate 20 Lite]
- OS: [e.g. Android 10]
Additional context Please add a Documentation on how to use a custom UI.
Hi, I've also run into this. Thank you for opening this issue. Could there be a workaround of some sort?
final controlsConfiguration = BetterPlayerControlsConfiguration( playerTheme: BetterPlayerTheme.custom, customControlsBuilder: (controller) => Container() );
Try using the above code for making the customControlsBuilder
work