<itemvalue="Look up the value of [key], or add a new entry if it isn't there. Returns the value associated to [key], if there is one. Otherwise calls [ifAbsent] to get a new value, associates [key] to that value, and then returns the new value. ```dart final diameters = <num, String>{1.0: 'Earth'}; final otherDiameters = <double, String>{0.383: 'Mercury', 0.949: 'Venus'}; for (final item in otherDiameters.entries) { diameters.putIfAbsent(item.key, () => item.value); } print(diameters); {1.0: Earth, 0.383: Mercury, 0.949: Venus} If the key already exists, the current value is returned. final result = diameters.putIfAbsent(0.383, () => 'Random'); print(result); Mercury print(diameters); {1.0: Earth, 0.383: Mercury, 0.949: Venus} ``` Calling [ifAbsent] must not add or remove keys from the map."/>
<itemvalue="The stroke weight for drawing the icon. Requires the underlying icon font to support the `wght` [FontVariation] axis, otherwise has no effect. Variable font filenames often indicate the supported axes. Must be greater than 0. Defaults to nearest [IconTheme]'s [IconThemeData.weight]. See also: [fill], for controlling fill. [grade], for controlling stroke weight in a more granular way. [opticalSize], for controlling optical size. https:fonts.google.comknowledgeglossaryweight_axis"/>
<itemvalue="By default, the placeholder is sized to fit its container. If the placeholder is in an unbounded space, it will size itself according to the given [fallbackWidth] and [fallbackHeight]."/>
<itemvalue="This contains the response message from a connection. It tells you whether your connection was successful or a failure, in which case will tell you where the failure occurred"/>
<itemvalue="This is the bluetooth device that we get when we have a successful connection. If our bluetooth connection wasn't successful, then null will be returned"/>
<itemvalue="This is likely a mistake, as Provider will not automatically update dependents when AMDHomePageViewModel is updated. Instead, consider changing Provider for more specific implementation that handles the update mechanism, such as:"/>
<itemvalue="Tried to use Provider with a subtype of ListenableStream (AMDHomePageViewModel)."/>
<itemvalue="The number of device pixels for each logical pixel for the screen this view is displayed on. This number might not be a power of two. Indeed, it might not even be an integer. For example, the Nexus 6 has a device pixel ratio of 3.5. Device pixels are also referred to as physical pixels. Logical pixels are also referred to as device-independent or resolution-independent pixels. By definition, there are roughly 38 logical pixels per centimeter, or about 96 logical pixels per inch, of the physical display. The value returned by [devicePixelRatio] is ultimately obtained either from the hardware itself, the device drivers, or a hard-coded value stored in the operating system or firmware, and may be inaccurate, sometimes by a significant margin. The Flutter framework operates in logical pixels, so it is rarely necessary to directly deal with this property. When this changes, [PlatformDispatcher.onMetricsChanged] is called. When using the Flutter framework, using [MediaQuery.of] to obtain the device pixel ratio (via [MediaQueryData.devicePixelRatio]), instead of directly obtaining the [devicePixelRatio] from a [FlutterView], will automatically cause any widgets dependent on this value to rebuild when it changes, without having to listen to [PlatformDispatcher.onMetricsChanged]. See also: [WidgetsBindingObserver], for a mechanism at the widgets layer to observe when this value changes. [Display.devicePixelRatio], which reports the DPR of the display. The value here is equal to the value exposed on [display]."/>
<itemvalue="Subsequent version, remove this deprecated member. ignore: deprecated_member_use"/>
<itemvalue="[ThemeData.visualDensity], where this property is used to specify the base horizontal density of Material components. [Material design guidance on density]"/>
<itemvalue="Defines the visual density of user interface components. Density, in the context of a UI, is the vertical and horizontal "compactness" of the components in the UI. It is unitless, since it means different things to different UI components. The default for visual densities is zero for both vertical and horizontal densities, which corresponds to the default visual density of components in the Material Design specification. It does not affect text sizes, icon sizes, or padding values. For example, for buttons, it affects the spacing around the child of the button. For lists, it affects the distance between baselines of entries in the list. For chips, it only affects the vertical size, not the horizontal size."/>
<itemvalue="The animation that controls the rotation of the child. If the current value of the turns animation is v, the child will be rotated v 2 pi radians before being painted."/>
<itemvalue="The stroke weight for drawing the icon. Requires the underlying icon font to support the `wght` [FontVariation] axis, otherwise has no effect. Variable font filenames often indicate the supported axes. Must be greater than 0. Defaults to nearest [IconTheme]'s [IconThemeData.weight]."/>
<itemvalue="[ConstraintsTransformBox], a widget that sizes its child using a transformed [BoxConstraints], and shows a warning if the child overflows in debug mode."/>
<itemvalue="[OverflowBox], a widget that imposes different constraints on its child than it gets from its parent, possibly allowing the child to overflow the parent."/>
<itemvalue="[ConstrainedBox], for a box which imposes constraints on its child."/>
<itemvalue="In debug mode, if the child overflows the container, a warning will be printed on the console, and black and yellow striped areas will appear where the overflow occurs."/>
<itemvalue="This allows a child to render at the size it would render if it were alone on an infinite canvas with no constraints. This container will then attempt to adopt the same size, within the limits of its own constraints. If it ends up with a different size, it will align the child based on [alignment]. If the box cannot expand enough to accommodate the entire child, the child will be clipped."/>
<itemvalue="A widget that imposes no constraints on its child, allowing it to render at its "natural" size."/>
<itemvalue="Animated widget that automatically transitions its size over a given duration whenever the given child's size changes. {@tool dartpad} This example makes a [Container] react to being touched, causing the child of the [AnimatedSize] widget, here a [FlutterLogo], to animate. See code in examplesapilibwidgetsanimated_sizeanimated_size.0.dart {@end-tool} See also: [SizeTransition], which changes its size based on an [Animation]."/>
<itemvalue="Only works if it's the child of a [Stack]. Here's an illustration of the [RelativePositionedTransition] widget, with it's [rect] animated by a [CurvedAnimation] set to [Curves.elasticInOut]: {@animation 300 378 https:flutter.github.ioassets-for-api-docsas"/>
<itemvalue="Animated version of [Positioned] which transitions the child's position based on the value of [rect] relative to a bounding box with the specified [size]."/>
<itemvalue="A widget that by default does a cross-fade between a new widget and the widget previously set on the [AnimatedSwitcher] as a child. {@youtube 560 315 https:www.youtube.comwatch?v=2W7POjFb88g} If they are swapped fast enough (i.e. before [duration] elapses), more than one previous child can exist and be transitioning out while the newest one is transitioning in."/>
<itemvalue="A widget that sizes its child to the child's maximum intrinsic width. This class is useful, for example, when unlimited width is available and you would like a child that would otherwise attempt to expand infinitely to instead size itself to a more reasonable width. The constraints that this widget passes to its child will adhere to the parent's constraints, so if the constraints are not large enough to satisfy the child's maximum intrinsic width, then the child will get less width than it otherwise would. Likewise, if the minimum width constraint is larger than the child's maximum intrinsic width, the child will be given more width than it otherwise would. If [stepWidth] is non-null, the child's width will be snapped to a multiple of the [stepWidth]. Similarly, if [stepHeight] is non-null, the child's height will be snapped to a multiple of the [stepHeight]. This class is relatively expensive, because it adds a speculative layout pass before the final layout phase. Avoid using it where possible. In the worst case, this widget can result in a layout that is O(N²) in the depth of the tree."/>
<itemvalue="Push a URI location onto the page stack w optional query parameters, e.g. `familyf2personp1?color=blue`. See also: [pushReplacement] which replaces the top-most page of the page stack and always use 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."/>