You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: