aagarwal1012 / aagarwal1012/Animated-Text-Kit

Height of RotateAnimatedText should be static and take biggest text

Đang mở Phù hợp với người mới
#338 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dart
Star
1.8k
Fork
321
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, flutter
Lĩnh vực
frontend, mobile
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.