betterplayer icon indicating copy to clipboard operation
betterplayer copied to clipboard

CustomControlsBuilder not working[BUG]

Open Hamion opened this issue 2 years ago • 3 comments

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:

  1. 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.

Hamion avatar May 28 '22 12:05 Hamion

Hi, I've also run into this. Thank you for opening this issue. Could there be a workaround of some sort?

RomanPreis avatar Dec 02 '22 14:12 RomanPreis

final controlsConfiguration = BetterPlayerControlsConfiguration( playerTheme: BetterPlayerTheme.custom, customControlsBuilder: (controller) => Container() );

Try using the above code for making the customControlsBuilder work

SeshaiHari avatar Jun 06 '23 07:06 SeshaiHari