aagarwal1012 / aagarwal1012/Animated-Text-Kit

Problem getting TextLiquidFill to go to completion

Đang mở
#255 1 bình luận 0 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ả

I'm using TextLiquidFill to do a banner heading in the appbar.

However, I can't get it to fill completely - there's always a bit of the top of the text missing (see screenshot)

Here's the code:
child: TextLiquidFill(
boxHeight: 500.0,
boxWidth: 600.0,
text: 'HELLO THERE FOLKS',
waveColor: Colors.red,
loadDuration: Duration(seconds: 4, milliseconds: 320),
waveDuration: Duration(seconds: 1, milliseconds: 000),
boxBackgroundColor: Colors.white,
loadUntil: 1.0,
textStyle: TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold,
),
),

Is there a way to get the animation to stop and fill the text? I've tried adjusting the Load and Wave durations, but there always seems to be a piece missing off the top of the letters.

Thanks! :-)
![TextLiquidFill missing top part of text](https://user-images.githubusercontent.com/26026664/121081040-1557c580-c7d4-11eb-957a-2a6a873b35a6.png)

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

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

Đánh giá

Issue này chưa được đánh giá.

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.