-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow customisation of the control widgets #100
Comments
I think some customization here makes sense -- it's a common request. My goal for Chewie was for it to be "Plug n Play," so if we go this route I'd still like to have the default factory constructor that sets up Chewie in the easiest possible way for consumers, and perhaps additional constructors for more advanced cases. I could see something like:
As you said, if you can access the ChewieController via an InheritedWidget, it should be pretty easy to make all of this work! Inside your custom Widgets, you could just |
Great so I will give this a go as soon as the |
It would be nice if the
Chewie
user could remove / add / reorder the control widgets. For example users would want to remove the ability to fullscreen or mute. Or they might want to add a button to switch between different versions / encodings of a video.Instead of adding
allowFullScreen
,allowMuting
: What about a list of widgets for the materialBottomControlBar? And one for cupertinoBottomControlBar plus cupertinoTopLeftControl and cupertinoTopRightControl? TheChewieController
(#99) would make it much easier for the user to add own or the original widgets.The text was updated successfully, but these errors were encountered: