flutter-animation-set
flutter-animation-set copied to clipboard
键盘弹起的时候,文字颜色会变暗
class WaveText extends StatelessWidget { final String text; final int delay; final String split; WaveText(this.text,{this.delay=0,this.split=''}); @override Widget build(BuildContext context) { List<Widget> fonts = []; text.split(split).asMap().forEach((index, item) { fonts.add(AnimatorSet( animationType: AnimationType.once, child: Text(item), animatorSet: [ Delay(duration: index * 50+delay), Serial(duration: 200, serialList: [ TY(from: 28, to: -14, curve: Curves.ease), O(from: 0, to: 0.6, curve: Curves.linear) ]), Serial(duration: 150, serialList: [ TY(from: -14, to: 0, curve: Curves.ease), O(from: 0.6, to: 1, curve: Curves.linear) ]), ], )); }); return Wrap(children: fonts); } }
巨佬!
我刚刚在本地测试 并没有出现这个问题呀,是不是跟特定机型有关?写个text的style把颜色写一下 试试
加了颜色也不行
我把这个页面单独抽出来了,巨佬看下,https://github.com/saviourdog/test
巨佬!
是动画的问题,不过现在在忙其他事情,能否先用autofocus先用着
是动画的问题,不过现在在忙其他事情,能否先用autofocu 好的!等巨佬修复~
0.0
~
不打算修了吗,一直等着巨佬呢0.0
在赶项目,可能没多少时间,flutter搞的少了
我找找其他人看看有没有空的
在赶项目,可能没多少时间,flutter搞的少了
谢谢!很忙的话我就不催啦~
你有空吗,可以帮忙看看,可以提交给request,我这边问到了修复思路
啥思路啊,不行我找其它大佬帮忙
应该要用到 animation 然后通过 路径 跟渐变解决
这。。太难了啊,唉
0.0