TimelinePaint constructor
TimelinePaint({})
Implementation
TimelinePaint(
{required this.lineColor,
required this.backgroundColor,
this.firstElement = false,
this.lastElement = false,
this.controller})
: height = new Tween(begin: 0.0, end: 1.0).animate(
new CurvedAnimation(
parent: controller ?? AlwaysStoppedAnimation<double>(1),
curve: new Interval(0.45, 1.0, curve: Curves.ease),
),
),
super(repaint: controller);