ImgxAnimationDecoderFrame constructor

ImgxAnimationDecoderFrame({
  1. Pointer<SdlSurface>? frame,
  2. int duration = 0,
})

Implementation

ImgxAnimationDecoderFrame({Pointer<SdlSurface>? frame, this.duration = 0}) {
  this.frame = frame ?? nullptr;
}