const VisualComponent( {Key? key, @required this.duration, @required this.color, @required this.curve}) : super(key: key);