<itemvalue="If [throwIfDiagnostics] is `true` (the default), then if any diagnostics are produced because of syntactic errors in the file an `ArgumentError` will be thrown. If the parameter is `false`, then the caller can check the result to see whether there are any errors."/>
<itemvalue="Callers that don't need the feature set to be strictly correct can pass in `FeatureSet.latestLanguageVersion()` to enable the default set of features; this is much more performant than using an analysis session, because it doesn't require the analyzer to process the SDK."/>
<itemvalue="[featureSet] determines what set of features will be assumed by the parser. This parameter is required because the analyzer does not yet have a performant way of computing the correct feature set for a single file to be parsed. Callers that need the feature set to be strictly correct must create an [AnalysisContextCollection], query it to get an [AnalysisContext], query it to get an [AnalysisSession], and then call `getParsedUnit`."/>
@ -61,13 +62,12 @@
<itemvalue="Signature used by [Image.frameBuilder] to control the widget that will be used when an [Image] is built."/>
<itemvalue="{@tool dartpad} The following sample demonstrates how to use this builder to implement an image that fades in once it's been loaded. This sample contains a limited subset of the functionality that the [FadeInImage] widget provides out of the box. See code in examplesapilibwidgetsimageimage.frame_builder.0.dart {@end-tool}"/>
<itemvalue="If a [loadingBuilder] has _also_ been specified for an image, the two builders will be chained together: the _result_ of this builder will be passed as the `child` argument to the [loadingBuilder]. For example, consider the following builders used in conjunction:"/>
<itemvalue="A builder function responsible for creating the widget that represents this image. If this is null, this widget will display an image that is painted as soon as the first image frame is available (and will appear to "pop" in if it becomes available asynchronously). Callers might use this builder to add effects to the image (such as fading the image in when it becomes available) or to display a placeholder widget while the image is loading. To have finer-grained control over the way that an image's loading progress is communicated to the user, see [loadingBuilder]."/>