This package is a good idea, but how can we manage a text with limited space, with overflow and ellipsis for example ?
I've tried to tweaks your code and force somes max lines, but if the source can show more than the destination, some part of the text is not in the hero animation.
I've done something like this in _calculateBoundForTexts
Hi,
This package is a good idea, but how can we manage a text with limited space, with overflow and ellipsis for example ?
I've tried to tweaks your code and force somes max lines, but if the source can show more than the destination, some part of the text is not in the hero animation.
I've done something like this in
_calculateBoundForTexts
if (sum > maxWidth) { nbLines++; if(maxLines != null && nbLines == maxLines) break; .... }
Thanks