Add ability for suffix textOverflow
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?
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.