/materialadaptivevalue onChanged activeColoractiveThumbColoractiveTrackColorinactiveThumbColorinactiveTrackColoractiveThumbImageonActiveThumbImageErrorinactiveThumbImageonInactiveThumbImageError thumbColor trackColortrackOutlineColor thumbIconmaterialTapTargetSizedragStartBehavior mouseCursor overlayColor splashRadius focusNode onFocusChange autofocus tileColortitlesubtitle secondary isThreeLinedensecontentPaddingselected_switchListTileTypecontrolAffinityshapeselectedTileColor visualDensityenableFeedbackhorizontalTitleGapminVerticalPaddingminLeadingWidth minTileHeight hoverColorapplyCupertinoThemeinternalAddSemanticForOnTapbuild_SwitchListTileTypeSwitchListTileqListTileSwitchStatesetStateselectedSwitchThemeData overlayColortrailingleadingMaterialScaffoldboolMergeSemantics SemanticsRichTextTextPaddingInkWell ListTileThemeCheckboxListTile RadioListTileStatelessWidget DeprecatedDragStartBehaviorstartmaterialadaptive ThemeDataplatformCupertinoSwitchStatefulWidget ValueChanged ColorScheme secondaryThemeColor ImageProviderImageErrorListener WidgetStatehovereddisabled thumbColorWidgetStateProperty trackColoroutline thumbIconIconMaterialTapTargetSize shrinkWrapWidgetStateMouseCursorresolve mouseCursor clickable MouseCursorpressedkRadialReactionAlpha splashRadiuskRadialReactionRadiusdouble FocusNodeWidgetListTileThemeData isThreeLine listTileThemedenseEdgeInsetsGeometryListTileControlAffinity ShapeBorder VisualDensityFeedbackoverride BuildContext ExcludeFocuschildvalue onChanged activeColoractiveThumbColoractiveThumbImageinactiveThumbImagematerialTapTargetSizeactiveTrackColorinactiveTrackColorinactiveThumbColor autofocus onFocusChangeonActiveThumbImageErroronInactiveThumbImageErrortrackOutlineColorapplyCupertinoThemedragStartBehaviorofcontrolAffinity SwitchTheme colorScheme selectedColortitlesubtitlecontentPaddingenabledonTapselectedTileColorshape tileColor visualDensity focusNodeenableFeedbackhorizontalTitleGapminVerticalPaddingminLeadingWidth minTileHeight hoverColorinternalAddSemanticForOnTapStatelessWidget:a檺EE ϸpackage:flutter/gestures.dartpackage:flutter/widgets.dart=list_tile.dartWlist_tile_theme.dartw switch.dartswitch_theme.dart theme.darttheme_data.dartGdC=ۀ 0Rs݁:EnӶڷ-~η"$MT}6׺68ryʻ dݼKR{91hjܾ޿+:Axǿο@@3@:@@@@A$A+ATAuAAABBhBCC<C>CsCzCDD&D(DXDwDyDDDEE'E)E]ExEzEEEEEFF&FHFcFeFFFFFGDGKGGHH2H4HvH}HHHIII\IIIIJJJ`JgJKK0K7K{KKKLLLRLYLLLMM4M6MMMMMN/NVNXNNNNOO!O#O`OOOOOP%PGPIPPPPQQQMQqQsQRRRqRRRRRSS3S]S~SSSTT7ThTTU-UbUUUV$VgVVVWW>WqWWWWXXX0XQXkXXXYY2YgYYZ,ZaZZZ[1[V[{[[\\+\T\}\\\\\]&]]]^$^^^^__L_t___```7`e`````a a4aYa{aaaaab&bEb\b{bbbccBcscccd)d3d;d@dC*/// @docImport 'package:flutter/cupertino.dart'; /// /// @docImport 'checkbox_list_tile.dart'; /// @docImport 'color_scheme.dart'; /// @docImport 'constants.dart'; /// @docImport 'ink_well.dart'; /// @docImport 'material.dart'; /// @docImport 'radio_list_tile.dart'; /// @docImport 'scaffold.dart';<Vv}+ ۜۀ^ppuƝ##(AAFffk||Ğ0!338KKPcchxx}ß ԟ  **/??D[[`vv {נ..3GGL]](b2ۜܜROߡˡ2 +.=C_WDZ|b7/// Creates a combination of a list tile and a switch. /// /// The switch tile itself does not maintain any state. Instead, when the /// state of the switch changes, the widget calls the [onChanged] callback. /// Most widgets that use a switch will listen for the [onChanged] callback /// and rebuild the switch tile with a new [value] to update the visual /// appearance of the switch. /// /// The following arguments are required: /// /// * [value] determines whether this switch is on or off. /// * [onChanged] is called when the user toggles the switch on or off.}, ƥ䀢{Ŧ"@@E^^ç099>PPUhhm˨  $$);; @LLQffk{{ é116OOTjjo(/o4,-ߪ˪ 5".%1@F`XG[{c~ӫ̫ϢĢĉ/// Creates a Material [ListTile] with an adaptive [Switch], following /// Material design's /// [Cross-platform guidelines](https://material.io/design/platform-guidance/cross-platform-adaptation.html). /// /// This widget uses [Switch.adaptive] to change the graphics of the switch /// component based on the ambient [ThemeData.platform]. On iOS and macOS, a /// [CupertinoSwitch] will be used. On other platforms a Material design /// [Switch] will be used. /// /// If a [CupertinoSwitch] is created, the following parameters are /// ignored: [activeTrackColor], [inactiveThumbColor], [inactiveTrackColor], /// [activeThumbImage], [inactiveThumbImage]., 7 #/// Whether this switch is checked.[K[/// Called when the user toggles the switch on or off. /// /// The switch passes the new value to the callback but does not actually /// change state until the parent widget rebuilds the switch tile with the /// new value. /// /// If null, the switch will be displayed as disabled. /// /// The callback provided to [onChanged] should update the state of the parent /// [StatefulWidget] using the [State.setState] method, so that the parent /// gets rebuilt; for example: /// /// {@tool snippet} /// ```dart /// SwitchListTile( /// value: _isSelected, /// onChanged: (bool newValue) { /// setState(() { /// _isSelected = newValue; /// }); /// }, /// title: const Text('Selection'), /// ) /// ``` /// {@end-tool}n5k t/// {@macro flutter.material.switch.activeColor} /// /// Defaults to [ColorScheme.secondary] of the current [Theme].""y/// {@macro flutter.material.switch.activeThumbColor} /// /// Defaults to [ColorScheme.secondary] of the current [Theme].9/// {@macro flutter.material.switch.activeTrackColor} /// /// Defaults to [ColorScheme.secondary] with the opacity set at 50%. /// /// Ignored if created with [SwitchListTile.adaptive].&/// {@macro flutter.material.switch.inactiveThumbColor} /// /// Defaults to the colors described in the Material design specification. /// /// Ignored if created with [SwitchListTile.adaptive]./// {@macro flutter.material.switch.inactiveTrackColor} /// /// Defaults to the colors described in the Material design specification. /// /// Ignored if created with [SwitchListTile.adaptive].b^b5/// {@macro flutter.material.switch.activeThumbImage}Ӵyq/// {@macro flutter.material.switch.onInactiveThumbImageError}/// The color of this switch's thumb. /// /// Resolved in the following states: /// * [WidgetState.selected]. /// * [WidgetState.hovered]. /// * [WidgetState.disabled]. /// /// If null, then the value of [activeThumbColor] is used in the selected state /// and [inactiveThumbColor] in the default state. If that is also null, then /// the value of [SwitchThemeData.thumbColor] is used. If that is also null, /// The default value is used.)& )/// The color of this switch's track. /// /// Resolved in the following states: /// * [WidgetState.selected]. /// * [WidgetState.hovered]. /// * [WidgetState.disabled]. /// /// If null, then the value of [activeTrackColor] is used in the selected /// state and [inactiveTrackColor] in the default state. If that is also null, /// then the value of [SwitchThemeData.trackColor] is used. If that is also /// null, then the default value is used.:/// {@macro flutter.material.switch.trackOutlineColor} /// /// The [ListTile] will be focused when this [SwitchListTile] requests focus, /// so the focused outline color of the switch will be ignored. /// /// In Material 3, the outline color defaults to transparent in the selected /// state and [ColorScheme.outline] in the unselected state. In Material 2, /// the [Switch] track has no outline.O/// The icon to use on the thumb of this switch /// /// Resolved in the following states: /// * [WidgetState.selected]. /// * [WidgetState.hovered]. /// * [WidgetState.disabled]. /// /// If null, then the value of [SwitchThemeData.thumbIcon] is used. If this is /// also null, then the [Switch] does not have any icons on the thumb.PPr/// {@macro flutter.material.switch.materialTapTargetSize} /// /// defaults to [MaterialTapTargetSize.shrinkWrap].Ⱦlm@/// {@macro flutter.cupertino.CupertinoSwitch.dragStartBehavior}@@/// The cursor for a mouse pointer when it enters or is hovering over the /// widget. /// /// If [mouseCursor] is a [WidgetStateMouseCursor], /// [WidgetStateProperty.resolve] is used for the following [WidgetState]s: /// /// * [WidgetState.selected]. /// * [WidgetState.hovered]. /// * [WidgetState.disabled]. /// /// If null, then the value of [SwitchThemeData.mouseCursor] is used. If that /// is also null, then [WidgetStateMouseCursor.clickable] is used.C-@AC-/// The color for the switch's [Material]. /// /// Resolves in the following states: /// * [WidgetState.pressed]. /// * [WidgetState.selected]. /// * [WidgetState.hovered]. /// /// If null, then the value of [activeThumbColor] with alpha [kRadialReactionAlpha] /// and [hoverColor] is used in the pressed and hovered state. If that is also /// null, the value of [SwitchThemeData.overlayColor] is used. If that is /// also null, then the default value is used in the pressed and hovered state.DC@D/// {@macro flutter.material.switch.splashRadius} /// /// If null, then the value of [SwitchThemeData.splashRadius] is used. If that /// is also null, then [kRadialReactionRadius] is used.DkD*JDk,/// {@macro flutter.widgets.Focus.focusNode}DD{^D3/// {@macro flutter.material.inkwell.onFocusChange}EDDE,/// {@macro flutter.widgets.Focus.autofocus}ElE+JEl0/// {@macro flutter.material.ListTile.tileColor}EE|iEL/// The primary content of the list tile. /// /// Typically a [Text] widget.FXEtFXT/// Additional content displayed below the title. /// /// Typically a [Text] widget.FFgFm/// A widget to display on the opposite side of the tile from the switch. /// /// Typically an [Icon] widget.H$F3H$ /// Whether this list tile is intended to display three lines of text. /// /// If null, the value from [ListTileThemeData.isThreeLine] is used. /// If that is also null, the value from [ThemeData.listTileTheme] is used. /// If still null, the default value is `false`.HH6Hပ/// Whether this list tile is part of a vertically dense list. /// /// If this property is null then its value is based on [ListTileThemeData.dense].J H+J /// The tile's internal padding. /// /// Insets a [SwitchListTile]'s contents: its [title], [subtitle], /// [secondary], and [Switch] widgets. /// /// If null, [ListTile]'s default of `EdgeInsets.symmetric(horizontal: 16.0)` /// is used.KJqKH/// Whether to render icons and text in the [activeThumbColor]. /// /// No effort is made to automatically coordinate the [selected] state and the /// [value] state. To have the list tile appear selected when the switch is /// on, pass the same value to both. /// /// Normally, this property is left to its default value, false.KKlK;/// If adaptive, creates the switch with [Switch.adaptive].LL LӀ/// Defines the position of control and [secondary], relative to text. /// /// By default, the value of [controlAffinity] is [ListTileControlAffinity.platform].M,LHM,,/// {@macro flutter.material.ListTile.shape}MM8wMU/// If non-null, defines the background color when [SwitchListTile.selected] is true.NFMNFq/// Defines how compact the list tile's layout will be. /// /// {@macro flutter.material.themedata.visualDensity}ONZO/// {@macro flutter.material.ListTile.enableFeedback} /// /// See also: /// /// * [Feedback] for providing platform-specific feedback to certain actions.OpO%]Op9/// {@macro flutter.material.ListTile.horizontalTitleGap}OO]O9/// {@macro flutter.material.ListTile.minVerticalPadding}P5OWP56/// {@macro flutter.material.ListTile.minLeadingWidth}PPKSP4/// {@macro flutter.material.ListTile.minTileHeight}QPfQK/// The color for the tile's [Material] when a pointer is hovering over it.Q[Q\Q[9/// {@macro flutter.cupertino.CupertinoSwitch.applyTheme}RQuER/// Whether to add button:true to the semantics if onTap is provided. /// This is a temporary flag to help changing the behavior of ListTile onTap semantics. ///RRRRRRR}Roo`/// A [ListTile] with a [Switch]. In other words, a switch with a label. /// /// {@youtube 560 315 https://www.youtube.com/watch?v=0igIjvtEWNU} /// /// The entire list tile is interactive: tapping anywhere in the tile toggles /// the switch. Tapping and dragging the [Switch] also triggers the [onChanged] /// callback. /// /// To ensure that [onChanged] correctly triggers, the state passed /// into [value] must be properly managed. This is typically done by invoking /// [State.setState] in [onChanged] to toggle the state value. /// /// The [value], [onChanged], [activeThumbColor], [activeThumbImage], and /// [inactiveThumbImage] properties of this widget are identical to the /// similarly-named properties on the [Switch] widget. /// /// The [title], [subtitle], [isThreeLine], and [dense] properties are like /// those of the same name on [ListTile]. /// /// The [selected] property on this widget is similar to the [ListTile.selected] /// property. This tile's [activeThumbColor] is used for the selected item's text color, or /// the theme's [SwitchThemeData.overlayColor] if [activeThumbColor] is null. /// /// This widget does not coordinate the [selected] state and the /// [value]; to have the list tile appear selected when the /// switch button is on, use the same value for both. /// /// The switch is shown on the right by default in left-to-right languages (i.e. /// in the [ListTile.trailing] slot) which can be changed using [controlAffinity]. /// The [secondary] widget is placed in the [ListTile.leading] slot. /// /// This widget requires a [Material] widget ancestor in the tree to paint /// itself on, which is typically provided by the app's [Scaffold]. /// The [tileColor], and [selectedTileColor] are not painted by the /// [SwitchListTile] itself but by the [Material] widget ancestor. In this /// case, one can wrap a [Material] widget around the [SwitchListTile], e.g.: /// /// {@tool snippet} /// ```dart /// ColoredBox( /// color: Colors.green, /// child: Material( /// child: SwitchListTile( /// tileColor: Colors.red, /// title: const Text('SwitchListTile with red background'), /// value: true, /// onChanged:(bool? value) { }, /// ), /// ), /// ) /// ``` /// {@end-tool} /// /// ## Performance considerations when wrapping [SwitchListTile] with [Material] /// /// Wrapping a large number of [SwitchListTile]s individually with [Material]s /// is expensive. Consider only wrapping the [SwitchListTile]s that require it /// or include a common [Material] ancestor where possible. /// /// To show the [SwitchListTile] as disabled, pass null as the [onChanged] /// callback. /// /// {@tool dartpad} /// ![SwitchListTile sample](https://flutter.github.io/assets-for-api-docs/assets/material/switch_list_tile.png) /// /// This widget shows a switch that, when toggled, changes the state of a [bool] /// member field called `_lights`. /// /// ** See code in examples/api/lib/material/switch_list_tile/switch_list_tile.0.dart ** /// {@end-tool} /// /// {@tool dartpad} /// This sample demonstrates how [SwitchListTile] positions the switch widget /// relative to the text in different configurations. /// /// ** See code in examples/api/lib/material/switch_list_tile/switch_list_tile.1.dart ** /// {@end-tool} /// /// ## Semantics in SwitchListTile /// /// Since the entirety of the SwitchListTile is interactive, it should represent /// itself as a single interactive entity. /// /// To do so, a SwitchListTile widget wraps its children with a [MergeSemantics] /// widget. [MergeSemantics] will attempt to merge its descendant [Semantics] /// nodes into one node in the semantics tree. Therefore, SwitchListTile will /// throw an error if any of its children requires its own [Semantics] node. /// /// For example, you cannot nest a [RichText] widget as a descendant of /// SwitchListTile. [RichText] has an embedded gesture recognizer that /// requires its own [Semantics] node, which directly conflicts with /// SwitchListTile's desire to merge all its descendants' semantic nodes /// into one. Therefore, it may be necessary to create a custom radio tile /// widget to accommodate similar use cases. /// /// {@tool dartpad} /// ![Switch list tile semantics sample](https://flutter.github.io/assets-for-api-docs/assets/material/switch_list_tile_semantics.png) /// /// Here is an example of a custom labeled radio widget, called /// LinkedLabelRadio, that includes an interactive [RichText] widget that /// handles tap gestures. /// /// ** See code in examples/api/lib/material/switch_list_tile/custom_labeled_switch.0.dart ** /// {@end-tool} /// /// ## SwitchListTile isn't exactly what I want /// /// If the way SwitchListTile pads and positions its elements isn't quite what /// you're looking for, you can create custom labeled switch widgets by /// combining [Switch] with other widgets, such as [Text], [Padding] and /// [InkWell]. /// /// {@tool dartpad} /// ![Custom switch list tile sample](https://flutter.github.io/assets-for-api-docs/assets/material/switch_list_tile_custom.png) /// /// Here is an example of a custom LabeledSwitch widget, but you can easily /// make your own configurable widget. /// /// ** See code in examples/api/lib/material/switch_list_tile/custom_labeled_switch.1.dart ** /// {@end-tool} /// /// See also: /// /// * [ListTileTheme], which can be used to affect the style of list tiles, /// including switch list tiles. /// * [CheckboxListTile], a similar widget for checkboxes. /// * [RadioListTile], a similar widget for radio buttons. /// * [ListTile] and [Switch], the widgets from which this widget is made.WWWaaa<EnӶڷ-~η"$MT}6׺68ryʻ dݼKR{91hjܾ޿+:Axǿο@@3@:@@@@A$A+ATAuAAABBhBCC<C>CsCzCDD&D(DXDwDyDDDEE'E)E]ExEzEEEEEFF&FHFcFeFFFFFGDGKGGHH2H4HvH}HHHIII\IIIIJJJ`JgJKK0K7K{KKKLLLRLYLLLMM4M6MMMMMN/NVNXNNNNOO!O#O`OOOOOP%PGPIPPPPQQQMQqQsQRRRqRRRRRSS3S]S~SSSTT7ThTTU-UbUUUV$VgVVVWW>WqWWWWXXX0XQXkXXXYY2YgYYZ,ZaZZZ[1[V[{[[\\+\T\}\\\\\]&]]]^$^^^^__L_t___```7`e`````a a4aYa{aaaaab&bEb\b{bbbccBcscccd)d3d;d@dC_SwitchListTileTypeSwitchListTile