<itemvalue="Push a location onto the page stack. See also: [pushReplacement] which replaces the top-most page of the page stack and always uses a new page key. [replace] which replaces the top-most page of the page stack but treats it as the same page. The page key will be reused. This will preserve the state and not run any page animation."/>
@ -61,13 +62,12 @@
<itemvalue="Raw straight RGBA format. Unencoded bytes, in RGBA row-primary form with straight alpha, 8 bits per channel."/>
<itemvalue="Raw unmodified format. Unencoded bytes, in the image's existing format. For example, a grayscale image may use a single 8-bit channel for each pixel."/>
<itemvalue="Raw extended range RGBA format. Unencoded bytes, in RGBA row-primary form with straight alpha, 32 bit float (IEEE 754 binary32) per channel. Example usage: ```dart import 'dart:ui' as ui; import 'dart:typed_data'; Future<Map<String, double>> getFirstPixel(ui.Image image) async { final ByteData data = (await image.toByteData(format: ui.ImageByteFormat.rawExtendedRgba128))!; final Float32List floats = Float32List.view(data.buffer); return <String, double>{ 'r': floats[0], 'g': floats[1], 'b': floats[2], 'a': floats[3], }; } ```"/>
<itemvalue="PNG format. A loss-less compression format for images. This format is well suited for images with hard edges, such as screenshots or sprites, and images with text. Transparency is supported. The PNG format supports images up to 2,147,483,647 pixels in either dimension, though in practice available memory provides a more immediate limitation on maximum image size. PNG images normally use the `.png` file extension and the `imagepng` MIME type. See also: <https:en.wikipedia.orgwikiPortable_Network_Graphics>, the Wikipedia page on PNG. <https:tools.ietf.orgrfcrfc2083.txt>, the PNG standard."/>