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

FlickerAnimatedText doesn't handle TextAlign #335

Open
3vmartinet opened this issue Feb 21, 2024 · 1 comment
Open

FlickerAnimatedText doesn't handle TextAlign #335

3vmartinet opened this issue Feb 21, 2024 · 1 comment

Comments

@3vmartinet
Copy link

Describe the bug
When specifying TextAlign.center to FlickerAnimatedText, the text alignment remain set to its default value TextAlign.start.

To Reproduce
Steps to reproduce the behavior:

  1. Instantiate a FlickerAnimatedText
  2. Lay it out so that if fills the full width of the screen
  3. Set the textAlign property to TextAlign.center
  4. Set the text to a long text so that the alignment issue can easily be spotted
  5. Run the app
  6. See error

Expected behavior
The text should be center-aligned

Screenshots
Bildschirmfoto 2024-02-21 um 11 37 06

Flutter:

  • version 3.19.0
  • stable channel

Dart:

  • version 3.3.0

Additional context
Version 4.2.2 of animated_text_kit

@Nimo11
Copy link

Nimo11 commented Feb 23, 2024

textAlign: textAlign, line 20 in flicker.dart is missing.

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

2 participants