<itemvalue="Each pixel is 32 bits, with the highest 8 bits encoding red, the next 8 bits encoding green, the next 8 bits encoding blue, and the lowest 8 bits encoding alpha. Premultiplied alpha is used."/>
<itemvalue="Creates an image descriptor from raw image pixels. The `pixels` parameter is the pixel data. They are packed in bytes in the order described by `pixelFormat`, then grouped in rows, from left to right, then top to bottom. The `rowBytes` parameter is the number of bytes consumed by each row of pixels in the data buffer. If unspecified, it defaults to `width` multiplied by the number of bytes per pixel in the provided `format`. Not async because there's no expensive work to do here."/>
<itemvalue="A descriptor of data that can be turned into an [Image] via a [Codec]. Use this class to determine the height, width, and byte size of image data before decoding it."/>
<itemvalue="The returned future can complete with an error if the image decoding has failed."/>
<itemvalue="Scaling the image to larger than its intrinsic size should usually be avoided, since it causes the image to use more memory than necessary. Instead, prefer scaling the [Canvas] transform. If the image must be scaled up, the `allowUpscaling` parameter must be set to true."/>
<itemvalue="The `targetWidth` and `targetHeight` arguments specify the size of the output image, in image pixels. If they are not equal to the intrinsic dimensions of the image, then the image will be scaled after being decoded. If the `allowUpscaling` parameter is not set to true, both dimensions will be capped at the intrinsic dimensions of the image, even if only one of them would have exceeded those intrinsic dimensions. If exactly one of these two arguments is specified, then the aspect ratio will be maintained while forcing the image to match the other given dimension. If neither is specified, then the image maintains its intrinsic size."/>
<itemvalue="{@template dart.ui.imageFormats} JPEG, PNG, GIF, Animated GIF, WebP, Animated WebP, BMP, and WBMP. Additional formats may be supported by the underlying platform. Flutter will attempt to call platform API to decode unrecognized formats, and if the platform API supports decoding the image Flutter will be able to render it. {@endtemplate}"/>
<itemvalue="The `list` parameter is the binary image data (e.g a PNG or GIF binary data). The data can be for either static or animated images. The following image formats are supported:"/>
<itemvalue="This method is a convenience wrapper around the [ImageDescriptor] API, and using [ImageDescriptor] directly is preferred since it allows the caller to make better determinations about how and whether to use the `targetWidth` and `targetHeight` parameters."/>
<itemvalue="Instantiates an image [Codec]."/>
<itemvalue="allow upscaling"/>
<itemvalue="Creates an image from a list of bytes. This function attempts to interpret the given bytes an image. If successful, the returned [Future] resolves to the decoded image. Otherwise, the [Future] resolves to null. If the image is animated, this returns the first frame. Consider [instantiateImageCodec] if support for animated images is necessary. This function differs from [decodeImageFromList] in that it defers to [PaintingBinding.instantiateImageCodecWithSize], and therefore can be mocked in tests."/>
<itemvalue="Performs a connect to the message broker with an optional username and password for the purposes of authentication. If a username and password are supplied these will override any previously set in a supplied connection message so if you supply your own connection message and use the authenticateAs method to set these parameters do not set them again here."/>
<itemvalue="场景"/>
<itemvalue="AMSTD control joy widget"/>
@ -56,21 +68,9 @@
<itemvalue="The [Duration] that should be used to offset the current [position] to get the correct [Caption]."/>
<itemvalue="Defaults to Duration.zero."/>
<itemvalue="truncate"/>
<itemvalue="Creates an image from a list of bytes. This function attempts to interpret the given bytes an image. If successful, the returned [Future] resolves to the decoded image. Otherwise, the [Future] resolves to null. If the image is animated, this returns the first frame. Consider [instantiateImageCodec] if support for animated images is necessary. This function differs from [decodeImageFromList] in that it defers to [PaintingBinding.instantiateImageCodecWithSize], and therefore can be mocked in tests."/>
<itemvalue="Draws the subset of the given image described by the `src` argument into the canvas in the axis-aligned rectangle given by the `dst` argument. This might sample from outside the `src` rect by up to half the width of an applied filter. Multiple calls to this method with different arguments (from the same image) can be batched into a single call to [drawAtlas] to improve performance."/>
<itemvalue="A mask filter to apply to shapes as they are painted. A mask filter is a function that takes a bitmap of color pixels, and returns another bitmap of color pixels. Instances of this class are used with [Paint.maskFilter] on [Paint] objects."/>
<itemvalue="The shader to use when stroking or filling a shape. When this is null, the [color] is used instead. See also: [Gradient], a shader that paints a color gradient. [ImageShader], a shader that tiles an [Image]. [colorFilter], which overrides [shader]. [color], which is used if [shader] and [colorFilter] are null."/>
<itemvalue="synthesize"/>
<itemvalue="When this is null, the [color] is used instead."/>
<itemvalue="The shader to use when stroking or filling a shape."/>
<itemvalue="compose"/>
<itemvalue="matrix"/>
<itemvalue="erode"/>
<itemvalue="dilate"/>
<itemvalue="blur"/>
<itemvalue="A filter operation to apply to a raster image."/>
<itemvalue="Creates a color filter that applies the inverse of the sRGB gamma curve to the RGB channels."/>
<itemvalue="Construct a color filter that applies the sRGB gamma curve to the RGB channels."/>