AnimationFrameProvider constructor
AnimationFrameProvider({
- void cancelAnimationFrame()?,
- num requestAnimationFrame()?,
Implementation
factory AnimationFrameProvider({
void Function(_i2.num)? cancelAnimationFrame,
_i2.num Function(_i3.FrameRequestCallback)? requestAnimationFrame,
}) =>
AnimationFrameProvider._(
cancelAnimationFrame: cancelAnimationFrame == null
? null
: _i4.allowInterop(cancelAnimationFrame),
requestAnimationFrame: requestAnimationFrame == null
? null
: _i4.allowInterop(requestAnimationFrame),
);