AsyncImageInput.input constructor

AsyncImageInput.input(
  1. ImageInput input
)

Provide a data source for ImageSizeGetter to get image size.

{@macro image_size_getter.image_input}

Unlike ImageInput, the methods of this class are asynchronous.

This method is the ImageInput of agent synchronization.

Implementation

factory AsyncImageInput.input(ImageInput input) = _SyncInputWrapper;