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

Can you provide a method to get the current progress? #14

Open
BodenTide opened this issue Jun 15, 2024 · 2 comments
Open

Can you provide a method to get the current progress? #14

BodenTide opened this issue Jun 15, 2024 · 2 comments

Comments

@BodenTide
Copy link

Can it provide the current progress? I see there is an onGetText, but it must return a Text component. I may only need to get the current progress and do not need to construct a Text component in the middle.

@Nulllix
Copy link
Owner

Nulllix commented Jun 19, 2024

Hello. Please tell me how you change the value of the progress bar?
If you use "valueNotifier" for this, then you can simply read the valueNotifier value.

@BodenTide
Copy link
Author

I'm having trouble getting the value through ValueNotifier because it only returns the final set value. When I use onGetText, can I return a Widget instead of just a Text widget? I might need to display more than just text in the center of the circle, and there could be more complex layout operations involved.

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