fix syntax error
This commit is contained in:
parent
8b10eb80c7
commit
b5df20735e
|
@ -31,8 +31,7 @@ class _AnimatedBarsState extends State<AnimatedBars>
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final color = widget.color ?? Theme.of(context).colorScheme.onSurface;
|
||||
final r = Random();
|
||||
final count = 3;
|
||||
const count = 3;
|
||||
AnimatedIcons.search_ellipsis;
|
||||
return SizedBox.square(
|
||||
dimension: widget.size,
|
||||
|
@ -44,14 +43,7 @@ class _AnimatedBarsState extends State<AnimatedBars>
|
|||
width: widget.size / count,
|
||||
child: Align(
|
||||
alignment: Alignment.bottomCenter,
|
||||
child: SizeTransition(
|
||||
sizeFactor: Tween(begin: 1.0, end: 0.2)..animate(
|
||||
CurvedAnimation(
|
||||
parent: _controller.,
|
||||
curve: Interval(0.1 * index, 0.3 * index,
|
||||
curve: Curves.easeIn))),
|
||||
axisAlignment: 1.0,
|
||||
child: Container(color: color)),
|
||||
child: Container(color: color),
|
||||
),
|
||||
)),
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue