Skip to content
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

Hide or disable progress bar #44

Closed
marianoarga opened this issue Aug 9, 2018 · 3 comments
Closed

Hide or disable progress bar #44

marianoarga opened this issue Aug 9, 2018 · 3 comments

Comments

@marianoarga
Copy link

Hello, how can I hide the progress bar, since I'm streaming live video and dont need it.
I have commented "_buildPosition" and "_buildProgressBar" but It'st really hacky and mess with controls distribution.

Could you add that feature?
Thank you.

@marianoarga
Copy link
Author

I have replaced the widgets with their empty versions and the final result it's fine, it's still very hacky hehe:

chewie-0.6.1/lib/src/material_controls.dart
@@96

           _buildPlayPause(controller),
            new Padding(
              padding: new EdgeInsets.only(right: 24.0),
            ),
            new Expanded(
              child: new Padding(
                padding: new EdgeInsets.only(right: 20.0),
              ),
            ),
            _buildMuteButton(controller),
            _buildExpandButton(),

@aqzwss
Copy link

aqzwss commented Dec 4, 2018

+1

@cbenhagen
Copy link
Collaborator

Future versions of Chewie will make it easier to customize the controls. I will close this in favor of #100.

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

No branches or pull requests

3 participants