StyleKeyframes.fromTo constructor
Creates keyframes with from and to steps.
Implementation
factory StyleKeyframes.fromTo({
required String name,
required DartStyle from,
required DartStyle to,
}) {
return StyleKeyframes(name, [KeyframeStep.from(from), KeyframeStep.to(to)]);
}