<itemvalue="The [exitType] indicates what kind of exit to perform. For [ui.AppExitType.cancelable] exits, the application is queried through a call to [handleRequestAppExit], where the application can optionally cancel the request for exit. If the [exitType] is [ui.AppExitType.required], then the application exits immediately without querying the application."/>
<itemvalue="This differs from calling `dart:io`'s [exit] function in that it gives the engine a chance to clean up resources so that it doesn't crash on exit, so calling this is always preferred over calling [exit]. It also optionally gives handlers of [handleRequestAppExit] a chance to cancel the application exit."/>
<itemvalue="Exits the application by calling the native application API method for exiting an application cleanly. This differs from calling `dart:io`'s [exit] function in that it gives the engine a chance to clean up resources so that it doesn't crash on exit, so calling this is always preferred over calling [exit]. It also optionally gives handlers of [handleRequestAppExit] a chance to cancel the application exit."/>
<itemvalue="To listen for changes in the application lifecycle state, define an [onStateChange] callback. See the [AppLifecycleState] enum for details on the various states."/>
<itemvalue="To listen for requests for the application to exit, and to decide whether or not the application should exit when requested, create an [AppLifecycleListener] and set the [onExitRequested] callback."/>
<itemvalue="A listener that can be used to listen to changes in the application lifecycle."/>
<itemvalue="A callback used to ask the application if it will allow exiting the application for cases where the exit is cancelable. Exiting the application isn't always cancelable, but when it is, this function will be called before exit occurs. Responding [AppExitResponse.exit] will continue termination, and responding [AppExitResponse.cancel] will cancel it. If termination is not canceled, the application will immediately exit."/>
<itemvalue="Gemini is a conversational experience in Android Studio that helps you be more productive by answering Android development queries. It is powered by artificial intelligence and can understand natural language, so you can ask development questions in plain English. Gemini can help Android developers generate code, find relevant resources, learn best practices, and save time. Gemini is still an early experiment, and may sometimes provide inaccurate, misleading, or false information while presenting it confidently. Gemini may give you working code that doesn’t produce the expected output, or provide you with code that is not optimal or incomplete. Always double-check Gemini’s responses and carefully test and review code for errors, bugs, and vulnerabilities before relying on it."/>
<itemvalue="if forceQuotedString is false and the string is valid unquoted, don't use any quote"/>
@ -66,12 +72,6 @@
<itemvalue="gapless playback"/>
<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:"/>