Skip to content

how to hide the progress bar / +10 -10 buttons #915

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

Open
liuchenc opened this issue Apr 6, 2025 · 1 comment
Open

how to hide the progress bar / +10 -10 buttons #915

liuchenc opened this issue Apr 6, 2025 · 1 comment

Comments

@liuchenc
Copy link

liuchenc commented Apr 6, 2025

Image Have been troubled for a long time
@shen601020
Copy link

There is a customControls property that allows you to define your own control UI. You can create a custom control by removing elements like the progress bar and the +10/-10 buttons.
Take MaterialControls as an example — it contains a method called Widget _buildHitArea() {}, which is where the +10 and -10 buttons are defined. You can simply remove those components from this method to exclude them from the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants