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

'fadingEdgeEndFraction' is not visible during round pause #99

Open
MKlimentowicz opened this issue May 25, 2024 · 0 comments
Open

'fadingEdgeEndFraction' is not visible during round pause #99

MKlimentowicz opened this issue May 25, 2024 · 0 comments

Comments

@MKlimentowicz
Copy link

Firstly, thank you for this cool package. It saves me a lot of time now! One thing I noticed is that fadingEdgeEndFraction is visible at the beginning but when I set pauseAfterRound it is not visible for that time.

Code to reproduce:

@override
  Widget build(BuildContext context) {
    return SizedBox(
      height: 25,
      child: AutoSizeText(
        "... long text ...",
        minFontSize: 19,
        maxFontSize: 19,
        style: const TextStyle(
          fontSize: 19,
          decoration: TextDecoration.none,
        ),
        overflowReplacement: Marquee(
          text: "... long text ...",
          velocity: 50,
          startAfter: const Duration(seconds: 3),
          blankSpace: 48.0,
          startPadding: 24.0,
          pauseAfterRound: const Duration(seconds: 3),
          fadingEdgeStartFraction: 0.15,
          fadingEdgeEndFraction: 0.15,
          style: const TextStyle(
            fontSize: 19,
            decoration: TextDecoration.none,
          ),
        ),
      ),
    );
  }

My expectation is that it is also visible while it is paused by pauseAfterRound.

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

1 participant