-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add ability for suffix textOverflow #28
Comments
sabifa
pushed a commit
to sabifa/flutter-animated-counter
that referenced
this issue
Sep 26, 2024
Another possibility would be to change the type of suffix / prefix to Widget instead of String. This way I could pass my adapted overflowable text widget into the widget like so instead of adding the suffixOverflow param. AnimatedFlipCounter(
duration: Duration(milliseconds: 500),
value: _value,
suffix: Flexible(
child: Text(
'my long text that is currently overflowing',
overflow: TextOverflow.ellipsis,
),
)
) This would produce a breaking change though. |
I have the same problem. |
Same in case of prefix. we can't style to prefix or suffix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your package, I really like it so far.
One thing that is missing for my usecase is the ability to specify a textOverflow for the suffix (e.g. ellipsis).
I've created a PR that adds this functionality. What are your thoughts on this?
The text was updated successfully, but these errors were encountered: