aagarwal1012 / aagarwal1012/Animated-Text-Kit

Height of RotateAnimatedText should be static and take biggest text

Open Beginner friendly
#338 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
1.8k
Forks
321
PR merge metrics
No merged PRs in 30d

Description

Height of RotateAnimatedText should be static and take biggest text. When we have multiple texts with different line size then when the text changes, during the transaction from one text to another all the widgets below it comes up. It looks weird.

**Expected behavior**
Height of the widget should take max text size and make it static so that on the change of the text from one to another. Other widgets below it does not get impacted.

Contributor guide

Open the contributing guide

Research direction

Look at the RotateAnimatedText widget in the package. The issue is about the widget's height changing during text transitions, causing layout shifts. Find where the widget calculates its size, likely in the build or layout methods. Compare the heights of the provided text strings and ensure the container uses the maximum height statically. Test by creating a sample with texts of different line counts and verifying the surrounding widgets don't move.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
frontend, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.