<itemvalue="Synchronously creates a handle to an image of this picture. {@template dart.ui.painting.Picture.toImageSync} The returned image will be `width` pixels wide and `height` pixels high. The picture is rasterized within the 0 (left), 0 (top), `width` (right), `height` (bottom) bounds. Content outside these bounds is clipped. The image object is created and returned synchronously, but is rasterized asynchronously. If the rasterization fails, an exception will be thrown when the image is drawn to a [Canvas]. If a GPU context is available, this image will be created as GPU resident and not copied back to the host. This means the image will be more efficient to draw. If no GPU context is available, the image will be rasterized on the CPU. {@endtemplate}"/>
<itemvalue="Using [ImageByteFormat.rawRgba] on an image in the color space [ColorSpace.extendedSRGB] will result in the gamut being squished to fit into the sRGB gamut, resulting in the loss of wide-gamut colors."/>
<itemvalue="Either the [width] and [height] arguments should be specified, or the widget should be placed in a context that sets tight layout constraints. Otherwise, the image dimensions will change as the image is loaded, which will result in ugly layout changes."/>
<itemvalue="This only accepts compressed image formats (e.g. PNG). Uncompressed formats like rawRgba (the default format of [dart:ui.Image.toByteData]) will lead to exceptions."/>
@ -70,7 +71,6 @@
<itemvalue="migration"/>
<itemvalue="Calculate offset of the stick based on the stick drag start position and the current stick position."/>
<itemvalue="Resets the [elapsed] count to zero. This method does not stop or start the [Stopwatch]."/>