decodeFrame method

  1. @override
Image? decodeFrame(
  1. int frame
)
override

Decode a single frame from the data stat was set with startDecode. If frame is out of the range of available frames, null is returned. Non animated image files will only have frame 0.

Implementation

@override
Image? decodeFrame(int frame) => info?.decodeImage();