convert method

  1. @override
BoxShadow convert(
  1. double animatorPercent
)
override

该方法由子类复写且只能在getValue内部调用

Implementation

@override
BoxShadow convert(double animatorPercent) {
  return BoxShadow.lerp(begin, end, animatorPercent)!;
}