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

feat: Add progressIndicatorBuilder #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KKimj
Copy link

@KKimj KKimj commented Aug 20, 2024

// example/lib/main.dart

class MyApp extends StatelessWidget {
...
  @override
  Widget build(BuildContext context) {
...
        OneContext().progressIndicatorBuilder = (context) {
          return Center(
            child: CircularProgressIndicator(
              color: Colors.red,
            ),
          );
        };
Screen.Recording.2024-08-20.at.2.55.02.PM.mov

Hello,

I would like to propose the addition of the OneContext().progressIndicatorBuilder feature.

This feature allows users to globally set the builder when calling showProgressIndicator.

I would appreciate your feedback!

Thank you.

@emanuel-braz
Copy link
Owner

Hi @KKimj, sorry for the delay. I'm gonna check this. thank you for the contribution

@KKimj
Copy link
Author

KKimj commented Oct 16, 2024

@emanuel-braz Thanks!

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

Successfully merging this pull request may close these issues.

2 participants