<itemvalue="{@macro flutter.widgets.editableText.onTapOutside} {@tool dartpad} This example shows how to use a `TextFieldTapRegion` to wrap a set of "spinner" buttons that increment and decrement a value in the [TextField] without causing the text field to lose keyboard focus. This example includes a generic `SpinnerField<T>` class that you can copy into your own project and customize. See code in examplesapilibwidgetstap_regiontext_field_tap_region.0.dart {@end-tool} See also: [TapRegion] for how the region group is determined."/>
<itemvalue="A widget that defines a region that can detect taps inside or outside of itself and any group of regions it belongs to, without participating in the [gesture disambiguation](https:flutter.devgesturesgesture-disambiguation) system (other than to consume tap down events if [consumeOutsideTaps] is true). This widget indicates to the nearest ancestor [TapRegionSurface] that the region occupied by its child will participate in the tap detection for that surface. If this region belongs to a group (by virtue of its [groupId]), all the regions in the group will act as one. If there is no [TapRegionSurface] ancestor, [TapRegion] will do nothing."/>
<itemvalue="A [TapRegion] that adds its children to the tap region group for widgets based on the [EditableText] text editing widget, such as [TextField] and [CupertinoTextField]. Widgets that are wrapped with a [TextFieldTapRegion] are considered to be part of a text field for purposes of unfocus behavior. So, when the user taps on them, the currently focused text field won't be unfocused by default. This allows controls like spinners, copy buttons, and formatting buttons to be associated with a text field without causing the text field to lose focus when they are interacted with. {@tool dartpad} This example shows how to use a [TextFieldTapRegion] to wrap a set of "spinner" buttons that increment and decrement a value in the text field without causing the text field to lose keyboard focus. This example includes a generic `SpinnerField<T>` class that you can copypaste into your own project and customize. See code in examplesapilibwidgetstap_regiontext_field_tap_region.0.dart {@end-tool} See also: [TapRegion], the widget that this widget uses to add widgets to the group of text fields."/>
<itemvalue="text field tap region"/>
<itemvalue="A widget that absorbs pointers during hit testing. When [absorbing] is true, this widget prevents its subtree from receiving pointer events by terminating hit testing at itself. It still consumes space during layout and paints its child as usual. It just prevents its children from being the target of located events, because it returns true from [RenderBox.hitTest]. When [ignoringSemantics] is true, the subtree will be invisible to the semantics layer (and thus e.g. accessibility tools). {@youtube 560 315 https:www.youtube.comwatch?v=65HoWqBboI8} {@tool dartpad} The following sample has an [AbsorbPointer] widget wrapping the button on top of the stack, which absorbs pointer events, preventing its child button __and__ the button below it in the stack from receiving the pointer events. See code in examplesapilibwidgetsbasicabsorb_pointer.0.dart {@end-tool}"/>
<itemvalue="{@template flutter.cupertino.CupertinoSwitch.applyTheme} Whether to apply the ambient [CupertinoThemeData]. If true, the track uses [CupertinoThemeData.primaryColor] for the track when the switch is on. Defaults to [CupertinoThemeData.applyThemeToAll]. {@endtemplate}"/>
<itemvalue="usb device detach"/>
<itemvalue="Groups elements by [keyOf] then folds the elements in each group. A key is found for each element using [keyOf]. Then the elements with the same key are all folded using [combine]. The first call to [combine] for a particular key receives `null` as the previous value, the remaining ones receive the result of the previous call. Can be used to _group_ elements into arbitrary collections. For example [groupSetsBy] could be written as: ```dart iterable.groupFoldBy(keyOf, (Set<T>? previous, T element) => (previous ?? <T>{})..add(element)); ````"/>