chewie icon indicating copy to clipboard operation
chewie copied to clipboard

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

Open liuchenc opened this issue 8 months ago • 1 comments

Image Have been troubled for a long time

liuchenc avatar Apr 06 '25 02:04 liuchenc

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.

shen601020 avatar May 16 '25 06:05 shen601020