pub struct CheckboxListTile {Show 41 fields
pub key: Option<KeyRef>,
pub value: Option<bool>,
pub on_changed: Option<ValueChanged<Option<bool>>>,
pub mouse_cursor: Option<MouseCursorRef>,
pub active_color: Option<Color>,
pub fill_color: Option<WidgetStatePropertyRef<Option<Color>>>,
pub check_color: Option<Color>,
pub hover_color: Option<Color>,
pub overlay_color: Option<WidgetStatePropertyRef<Option<Color>>>,
pub splash_radius: Option<f64>,
pub material_tap_target_size: Option<MaterialTapTargetSize>,
pub visual_density: Option<VisualDensity>,
pub focus_node: Option<FocusNodeRef>,
pub states_controller: Option<Ref<WidgetStatesController>>,
pub autofocus: bool,
pub shape: Option<ShapeBorderRef>,
pub side: Option<AnyBorderSide>,
pub is_error: bool,
pub tile_color: Option<Color>,
pub title: Option<WidgetRef>,
pub subtitle: Option<WidgetRef>,
pub secondary: Option<WidgetRef>,
pub is_three_line: Option<bool>,
pub dense: Option<bool>,
pub selected: bool,
pub control_affinity: Option<ListTileControlAffinity>,
pub content_padding: Option<EdgeInsetsGeometry>,
pub tristate: bool,
pub checkbox_shape: Option<OutlinedBorderRef>,
pub selected_tile_color: Option<Color>,
pub on_focus_change: Option<ValueChanged<bool>>,
pub enable_feedback: Option<bool>,
pub horizontal_title_gap: Option<f64>,
pub min_vertical_padding: Option<f64>,
pub min_leading_width: Option<f64>,
pub min_tile_height: Option<f64>,
pub enabled: Option<bool>,
pub title_alignment: Option<ListTileTitleAlignment>,
pub internal_add_semantic_for_on_tap: bool,
pub checkbox_scale_factor: f64,
pub checkbox_semantic_label: Option<String>,
/* private fields */
}Expand description
A ListTile with a Checkbox. In other words, a checkbox with a label.
The entire list tile is interactive: tapping anywhere in the tile toggles the checkbox.
The value, on_changed,
active_color and check_color properties of
this widget are identical to the similarly-named properties on the Checkbox widget.
The title, subtitle,
is_three_line, dense, and
content_padding 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 active_color is used
for the selected item’s text color, or the theme’s CheckboxThemeData::overlay_color if
active_color is null.
This widget does not coordinate the selected state and the
value state; to have the list tile appear selected when the checkbox is
checked, pass the same value to both.
The checkbox is shown on the right by default in left-to-right languages
(i.e. the trailing edge). This can be changed using
control_affinity. The secondary widget is
placed on the opposite side. This maps to the ListTile::leading and
ListTile::trailing properties of ListTile.
This widget requires a Material widget ancestor in the tree to paint
itself on, which is typically provided by the app’s Scaffold.
The tile_color, and selected_tile_color
are not painted by the CheckboxListTile itself but by the Material widget ancestor.
In this case, one can wrap a Material widget around the CheckboxListTile.
§Performance considerations when wrapping CheckboxListTile with Material
Wrapping a large number of CheckboxListTiles individually with Materials
is expensive. Consider only wrapping the CheckboxListTiles that require it
or include a common Material ancestor where possible.
To show the CheckboxListTile as disabled, pass null as the
on_changed callback.
§CheckboxListTile isn’t exactly what I want
If the way CheckboxListTile pads and positions its elements isn’t quite
what you’re looking for, you can create custom labeled checkbox widgets by
combining Checkbox with other widgets, such as Text, Padding and
InkWell.
See also:
ListTileTheme, which can be used to affect the style of list tiles, including checkbox list tiles.RadioListTile, a similar widget for radio buttons.SwitchListTile, a similar widget for switches.ListTileandCheckbox, the widgets from which this widget is made.
Fields§
§key: Option<KeyRef>§value: Option<bool>Whether this checkbox is checked.
on_changed: Option<ValueChanged<Option<bool>>>Called when the value of the checkbox should change.
The checkbox passes the new value to the callback but does not actually change state until the parent widget rebuilds the checkbox tile with the new value.
If null, the checkbox will be displayed as disabled.
mouse_cursor: Option<MouseCursorRef>The cursor for a mouse pointer when it enters or is hovering over the widget.
If mouse_cursor is a WidgetStateMouseCursor,
WidgetStateProperty::resolve is used for the following WidgetStates:
If null, then the value of CheckboxThemeData::mouse_cursor is used. If
that is also null, then WidgetStateMouseCursor::clickable is used.
active_color: Option<Color>The color to use when this checkbox is checked.
Defaults to ColorScheme::secondary of the current Theme.
fill_color: Option<WidgetStatePropertyRef<Option<Color>>>The color that fills the checkbox.
Resolves in the following states:
If null, then the value of active_color is used in the selected
state. If that is also null, the value of CheckboxThemeData::fill_color
is used. If that is also null, then the default value is used.
check_color: Option<Color>The color to use for the check icon when this checkbox is checked.
Defaults to Color(0xFFFFFFFF).
hover_color: Option<Color>The color for the checkbox’s Material when a pointer is hovering over it.
overlay_color: Option<WidgetStatePropertyRef<Option<Color>>>The color for the checkbox’s Material.
Resolves in the following states:
If null, then the value of active_color with alpha
K_RADIAL_REACTION_ALPHA and hover_color is used in the pressed
and hovered state. If that is also null, the value of
CheckboxThemeData::overlay_color is used. If that is also null, then the default
value is used in the pressed and hovered state.
splash_radius: Option<f64>The splash radius of the circular Material ink response.
If null, then the value of CheckboxThemeData::splash_radius is used. If
that is also null, then K_RADIAL_REACTION_RADIUS is used.
material_tap_target_size: Option<MaterialTapTargetSize>Configures the minimum size of the tap target.
Defaults to MaterialTapTargetSize::ShrinkWrap.
visual_density: Option<VisualDensity>Defines how compact the list tile’s layout will be.
focus_node: Option<FocusNodeRef>An optional focus node to use as the focus node for this widget.
states_controller: Option<Ref<WidgetStatesController>>Controls the interactive states of the backing ListTile.
autofocus: boolTrue if this widget will be selected as the initial focus when no other node in its scope is currently focused.
shape: Option<ShapeBorderRef>Defines the tile’s InkWell::custom_border and Ink::decoration shape.
side: Option<AnyBorderSide>The color and width of the checkbox’s border.
The given value is passed directly to Checkbox::side.
If this property is null, then CheckboxThemeData::side of
ThemeData::checkbox_theme is used. If that is also null, then the side
will be width 2.
is_error: boolTrue if this checkbox wants to show an error state.
Defaults to false.
tile_color: Option<Color>Defines the background color of ListTile when selected is false.
title: Option<WidgetRef>The primary content of the list tile.
Typically a Text widget.
subtitle: Option<WidgetRef>Additional content displayed below the title.
Typically a Text widget.
secondary: Option<WidgetRef>A widget to display on the opposite side of the tile from the checkbox.
Typically an Icon widget.
is_three_line: Option<bool>Whether this list tile is intended to display three lines of text.
If null then the ambient ListTileThemeData::is_three_line is used.
If that is also null, the default value is false.
dense: Option<bool>Whether this list tile is part of a vertically dense list.
If this property is null then its value is based on ListTileThemeData::dense.
selected: boolWhether to render icons and text in the active_color.
No effort is made to automatically coordinate the selected state
and the value state. To have the list tile appear selected when the
checkbox is checked, pass the same value to both.
Normally, this property is left to its default value, false.
control_affinity: Option<ListTileControlAffinity>Where to place the control relative to the text.
content_padding: Option<EdgeInsetsGeometry>Defines insets surrounding the tile’s contents.
This value will surround the Checkbox, title,
subtitle, and secondary widgets in
CheckboxListTile.
When the value is null, the content_padding is
EdgeInsets.symmetric(horizontal: 16.0).
tristate: boolIf true the checkbox’s value can be true, false, or null.
Checkbox displays a dash when its value is null.
When a tri-state checkbox (tristate is true) is tapped, its
on_changed callback will be applied to true if the current value
is false, to null if value is true, and to false if value is null (i.e. it cycles
through false => true => null => false when tapped).
If tristate is false (the default), value must not be null.
checkbox_shape: Option<OutlinedBorderRef>The shape of the checkbox’s Material.
If this property is null then CheckboxThemeData::shape of ThemeData::checkbox_theme
is used. If that’s null then the shape will be a RoundedRectangleBorder
with a circular corner radius of 1.0.
selected_tile_color: Option<Color>If non-null, defines the background color when CheckboxListTile::selected is true.
on_focus_change: Option<ValueChanged<bool>>Handler called when the focus changes.
Called with true if this widget’s node gains focus, and false if it loses focus.
enable_feedback: Option<bool>Whether detected gestures should provide acoustic and/or haptic feedback.
See also:
Feedbackfor providing platform-specific feedback to certain actions.
horizontal_title_gap: Option<f64>The horizontal gap between the titles and the leading/trailing widgets.
min_vertical_padding: Option<f64>The minimum padding on the top and bottom of the title and subtitle widgets.
min_leading_width: Option<f64>The minimum width allocated for the ListTile::leading widget.
min_tile_height: Option<f64>The minimum height allocated for the ListTile widget.
enabled: Option<bool>Whether the CheckboxListTile is interactive.
If false, this list tile is styled with the disabled color from the
current Theme and the ListTile::on_tap callback is
inoperative.
title_alignment: Option<ListTileTitleAlignment>Defines how ListTile::leading and ListTile::trailing are
vertically aligned relative to the ListTile’s titles
(ListTile::title and ListTile::subtitle).
If this property is null then ListTileThemeData::title_alignment
is used. If that is also null then ListTileTitleAlignment::ThreeLine
is used.
See also:
ListTileTheme::of, which returns the nearestListTileTheme’sListTileThemeData.
internal_add_semantic_for_on_tap: boolWhether 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.
checkbox_scale_factor: f64Controls the scaling factor applied to the Checkbox within the CheckboxListTile.
Defaults to 1.0.
checkbox_semantic_label: Option<String>The semantic label for the checkbox that will be announced by screen readers.
This is announced by assistive technologies (e.g TalkBack/VoiceOver).
This label does not show in the UI.
Implementations§
Source§impl CheckboxListTile
impl CheckboxListTile
Sourcepub fn new(
value: Option<bool>,
on_changed: Option<ValueChanged<Option<bool>>>,
) -> CheckboxListTile
pub fn new( value: Option<bool>, on_changed: Option<ValueChanged<Option<bool>>>, ) -> CheckboxListTile
Creates a combination of a list tile and a checkbox.
The checkbox tile itself does not maintain any state. Instead, when the
state of the checkbox changes, the widget calls the on_changed
callback. Most widgets that use a checkbox will listen for the
on_changed callback and rebuild the checkbox tile with a new
value to update the visual appearance of the checkbox.
The following arguments are required:
value, which determines whether the checkbox is checked. Thevaluecan only be null iftristateis true.on_changed, which is called when the value of the checkbox should change. It can be set to null to disable the checkbox.
Sourcepub fn adaptive(
value: Option<bool>,
on_changed: Option<ValueChanged<Option<bool>>>,
) -> CheckboxListTile
pub fn adaptive( value: Option<bool>, on_changed: Option<ValueChanged<Option<bool>>>, ) -> CheckboxListTile
Creates a combination of a list tile and a platform adaptive checkbox.
The checkbox uses Checkbox::adaptive to show a CupertinoCheckbox for
iOS platforms, or Checkbox for all others.
All other properties are the same as CheckboxListTile.
Sourcepub fn key(self, key: KeyRef) -> CheckboxListTile
pub fn key(self, key: KeyRef) -> CheckboxListTile
Dart CheckboxListTile(key:).
Sourcepub fn mouse_cursor(
self,
mouse_cursor: impl Into<MouseCursorRef>,
) -> CheckboxListTile
pub fn mouse_cursor( self, mouse_cursor: impl Into<MouseCursorRef>, ) -> CheckboxListTile
Dart CheckboxListTile(mouseCursor:).
Sourcepub fn active_color(self, active_color: impl Into<Color>) -> CheckboxListTile
pub fn active_color(self, active_color: impl Into<Color>) -> CheckboxListTile
Dart CheckboxListTile(activeColor:).
Sourcepub fn fill_color(
self,
fill_color: impl Into<WidgetStatePropertyRef<Option<Color>>>,
) -> CheckboxListTile
pub fn fill_color( self, fill_color: impl Into<WidgetStatePropertyRef<Option<Color>>>, ) -> CheckboxListTile
Dart CheckboxListTile(fillColor:).
Sourcepub fn check_color(self, check_color: impl Into<Color>) -> CheckboxListTile
pub fn check_color(self, check_color: impl Into<Color>) -> CheckboxListTile
Dart CheckboxListTile(checkColor:).
Sourcepub fn hover_color(self, hover_color: impl Into<Color>) -> CheckboxListTile
pub fn hover_color(self, hover_color: impl Into<Color>) -> CheckboxListTile
Dart CheckboxListTile(hoverColor:).
Sourcepub fn overlay_color(
self,
overlay_color: impl Into<WidgetStatePropertyRef<Option<Color>>>,
) -> CheckboxListTile
pub fn overlay_color( self, overlay_color: impl Into<WidgetStatePropertyRef<Option<Color>>>, ) -> CheckboxListTile
Dart CheckboxListTile(overlayColor:).
Sourcepub fn splash_radius(self, splash_radius: impl Into<f64>) -> CheckboxListTile
pub fn splash_radius(self, splash_radius: impl Into<f64>) -> CheckboxListTile
Dart CheckboxListTile(splashRadius:).
Sourcepub fn material_tap_target_size(
self,
material_tap_target_size: impl Into<MaterialTapTargetSize>,
) -> CheckboxListTile
pub fn material_tap_target_size( self, material_tap_target_size: impl Into<MaterialTapTargetSize>, ) -> CheckboxListTile
Dart CheckboxListTile(materialTapTargetSize:).
Sourcepub fn visual_density(
self,
visual_density: impl Into<VisualDensity>,
) -> CheckboxListTile
pub fn visual_density( self, visual_density: impl Into<VisualDensity>, ) -> CheckboxListTile
Dart CheckboxListTile(visualDensity:).
Sourcepub fn focus_node(self, focus_node: impl Into<FocusNodeRef>) -> CheckboxListTile
pub fn focus_node(self, focus_node: impl Into<FocusNodeRef>) -> CheckboxListTile
Dart CheckboxListTile(focusNode:).
Sourcepub fn states_controller(
self,
states_controller: impl Into<Ref<WidgetStatesController>>,
) -> CheckboxListTile
pub fn states_controller( self, states_controller: impl Into<Ref<WidgetStatesController>>, ) -> CheckboxListTile
Dart CheckboxListTile(statesController:).
Sourcepub fn shape(self, shape: impl Into<ShapeBorderRef>) -> CheckboxListTile
pub fn shape(self, shape: impl Into<ShapeBorderRef>) -> CheckboxListTile
Dart CheckboxListTile(shape:).
Sourcepub fn side(self, side: impl Into<AnyBorderSide>) -> CheckboxListTile
pub fn side(self, side: impl Into<AnyBorderSide>) -> CheckboxListTile
Dart CheckboxListTile(side:).
Sourcepub fn tile_color(self, tile_color: impl Into<Color>) -> CheckboxListTile
pub fn tile_color(self, tile_color: impl Into<Color>) -> CheckboxListTile
Dart CheckboxListTile(tileColor:).
Sourcepub fn is_three_line(self, is_three_line: impl Into<bool>) -> CheckboxListTile
pub fn is_three_line(self, is_three_line: impl Into<bool>) -> CheckboxListTile
Dart CheckboxListTile(isThreeLine:).
Sourcepub fn dense(self, dense: impl Into<bool>) -> CheckboxListTile
pub fn dense(self, dense: impl Into<bool>) -> CheckboxListTile
Dart CheckboxListTile(dense:).
Sourcepub fn control_affinity(
self,
control_affinity: impl Into<ListTileControlAffinity>,
) -> CheckboxListTile
pub fn control_affinity( self, control_affinity: impl Into<ListTileControlAffinity>, ) -> CheckboxListTile
Dart CheckboxListTile(controlAffinity:).
Sourcepub fn content_padding(
self,
content_padding: impl Into<EdgeInsetsGeometry>,
) -> CheckboxListTile
pub fn content_padding( self, content_padding: impl Into<EdgeInsetsGeometry>, ) -> CheckboxListTile
Dart CheckboxListTile(contentPadding:).
Sourcepub fn checkbox_shape(
self,
checkbox_shape: impl Into<OutlinedBorderRef>,
) -> CheckboxListTile
pub fn checkbox_shape( self, checkbox_shape: impl Into<OutlinedBorderRef>, ) -> CheckboxListTile
Dart CheckboxListTile(checkboxShape:).
Sourcepub fn selected_tile_color(
self,
selected_tile_color: impl Into<Color>,
) -> CheckboxListTile
pub fn selected_tile_color( self, selected_tile_color: impl Into<Color>, ) -> CheckboxListTile
Dart CheckboxListTile(selectedTileColor:).
Sourcepub fn on_focus_change(
self,
on_focus_change: impl Into<ValueChanged<bool>>,
) -> CheckboxListTile
pub fn on_focus_change( self, on_focus_change: impl Into<ValueChanged<bool>>, ) -> CheckboxListTile
Dart CheckboxListTile(onFocusChange:).
Sourcepub fn enable_feedback(
self,
enable_feedback: impl Into<bool>,
) -> CheckboxListTile
pub fn enable_feedback( self, enable_feedback: impl Into<bool>, ) -> CheckboxListTile
Dart CheckboxListTile(enableFeedback:).
Sourcepub fn horizontal_title_gap(
self,
horizontal_title_gap: impl Into<f64>,
) -> CheckboxListTile
pub fn horizontal_title_gap( self, horizontal_title_gap: impl Into<f64>, ) -> CheckboxListTile
Dart CheckboxListTile(horizontalTitleGap:).
Sourcepub fn min_vertical_padding(
self,
min_vertical_padding: impl Into<f64>,
) -> CheckboxListTile
pub fn min_vertical_padding( self, min_vertical_padding: impl Into<f64>, ) -> CheckboxListTile
Dart CheckboxListTile(minVerticalPadding:).
Sourcepub fn min_leading_width(
self,
min_leading_width: impl Into<f64>,
) -> CheckboxListTile
pub fn min_leading_width( self, min_leading_width: impl Into<f64>, ) -> CheckboxListTile
Dart CheckboxListTile(minLeadingWidth:).
Sourcepub fn min_tile_height(
self,
min_tile_height: impl Into<f64>,
) -> CheckboxListTile
pub fn min_tile_height( self, min_tile_height: impl Into<f64>, ) -> CheckboxListTile
Dart CheckboxListTile(minTileHeight:).
Sourcepub fn enabled(self, enabled: impl Into<bool>) -> CheckboxListTile
pub fn enabled(self, enabled: impl Into<bool>) -> CheckboxListTile
Dart CheckboxListTile(enabled:).
Sourcepub fn title_alignment(
self,
title_alignment: impl Into<ListTileTitleAlignment>,
) -> CheckboxListTile
pub fn title_alignment( self, title_alignment: impl Into<ListTileTitleAlignment>, ) -> CheckboxListTile
Dart CheckboxListTile(titleAlignment:).
Sourcepub fn checkbox_semantic_label(
self,
checkbox_semantic_label: impl Into<String>,
) -> CheckboxListTile
pub fn checkbox_semantic_label( self, checkbox_semantic_label: impl Into<String>, ) -> CheckboxListTile
Dart CheckboxListTile(checkboxSemanticLabel:).
Sourcepub fn title<K>(self, title: impl IntoWidget<K>) -> CheckboxListTile
pub fn title<K>(self, title: impl IntoWidget<K>) -> CheckboxListTile
Dart CheckboxListTile(title:).
Sourcepub fn subtitle<K>(self, subtitle: impl IntoWidget<K>) -> CheckboxListTile
pub fn subtitle<K>(self, subtitle: impl IntoWidget<K>) -> CheckboxListTile
Dart CheckboxListTile(subtitle:).
Sourcepub fn secondary<K>(self, secondary: impl IntoWidget<K>) -> CheckboxListTile
pub fn secondary<K>(self, secondary: impl IntoWidget<K>) -> CheckboxListTile
Dart CheckboxListTile(secondary:).
Sourcepub fn autofocus(self, autofocus: bool) -> CheckboxListTile
pub fn autofocus(self, autofocus: bool) -> CheckboxListTile
Dart CheckboxListTile(autofocus:).
Sourcepub fn is_error(self, is_error: bool) -> CheckboxListTile
pub fn is_error(self, is_error: bool) -> CheckboxListTile
Dart CheckboxListTile(isError:).
Sourcepub fn selected(self, selected: bool) -> CheckboxListTile
pub fn selected(self, selected: bool) -> CheckboxListTile
Dart CheckboxListTile(selected:).
Sourcepub fn tristate(self, tristate: bool) -> CheckboxListTile
pub fn tristate(self, tristate: bool) -> CheckboxListTile
Dart CheckboxListTile(tristate:).
Sourcepub fn internal_add_semantic_for_on_tap(
self,
internal_add_semantic_for_on_tap: bool,
) -> CheckboxListTile
pub fn internal_add_semantic_for_on_tap( self, internal_add_semantic_for_on_tap: bool, ) -> CheckboxListTile
Dart CheckboxListTile(internalAddSemanticForOnTap:).
Sourcepub fn checkbox_scale_factor(
self,
checkbox_scale_factor: f64,
) -> CheckboxListTile
pub fn checkbox_scale_factor( self, checkbox_scale_factor: f64, ) -> CheckboxListTile
Dart CheckboxListTile(checkboxScaleFactor:).
Trait Implementations§
Source§impl Debug for CheckboxListTile
impl Debug for CheckboxListTile
Source§impl StatelessWidget for CheckboxListTile
impl StatelessWidget for CheckboxListTile
Source§fn debug_check_constructor(&self)
fn debug_check_constructor(&self)
Source§fn build(&self, app: &mut App, context: BuildContext) -> WidgetRef
fn build(&self, app: &mut App, context: BuildContext) -> WidgetRef
Source§fn debug_fill_properties(
&self,
_app: &App,
properties: &mut DiagnosticPropertiesBuilder,
)
fn debug_fill_properties( &self, _app: &App, properties: &mut DiagnosticPropertiesBuilder, )
debugFillProperties: the properties a dump shows for this widget, in Dart’s
order. Dart’s Widget base only sets the dense tree style, which the framework does.Source§fn as_preferred_size_widget(
&self,
) -> Option<&(dyn PreferredSizeWidget + 'static)>
fn as_preferred_size_widget( &self, ) -> Option<&(dyn PreferredSizeWidget + 'static)>
this is PreferredSizeWidget: a widget that implements PreferredSizeWidget
answers with itself, which is what a parent asking an erased child for its preferred
size reads.Auto Trait Implementations§
impl !RefUnwindSafe for CheckboxListTile
impl !Send for CheckboxListTile
impl !Sync for CheckboxListTile
impl !UnwindSafe for CheckboxListTile
impl Forget for CheckboxListTile
impl Freeze for CheckboxListTilewhere
*const RcInner<dyn Key> is !null: Freeze,
PhantomData<RcInner<dyn Key>>: Freeze,
*const RcInner<dyn Fn(&mut App, Option<bool>)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, Option<bool>)>>: Freeze,
*const RcInner<dyn MouseCursor> is !null: Freeze,
PhantomData<RcInner<dyn MouseCursor>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: Freeze,
NonZero<u32>: Freeze,
&'static FocusNodeVTable: Freeze,
*const RcInner<Keep> is !null: Freeze,
PhantomData<RcInner<Keep>>: Freeze,
PhantomData<fn() -> WidgetStatesController>: Freeze,
*const RcInner<dyn ShapeBorder> is !null: Freeze,
PhantomData<RcInner<dyn ShapeBorder>>: Freeze,
*const RcInner<dyn BorderSideExtension> is !null: Freeze,
PhantomData<RcInner<dyn BorderSideExtension>>: Freeze,
*const RcInner<dyn Widget> is !null: Freeze,
PhantomData<RcInner<dyn Widget>>: Freeze,
*const RcInner<dyn OutlinedBorder> is !null: Freeze,
PhantomData<RcInner<dyn OutlinedBorder>>: Freeze,
*const RcInner<dyn Fn(&mut App, bool)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, bool)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for CheckboxListTile
impl Unpin for CheckboxListTilewhere
Rc<dyn Key>: Unpin,
Rc<dyn Fn(&mut App, Option<bool>)>: Unpin,
Rc<dyn MouseCursor>: Unpin,
Rc<dyn WidgetStateProperty<Option<Color>>>: Unpin,
NonZero<u32>: Unpin,
&'static FocusNodeVTable: Unpin,
Rc<Keep>: Unpin,
Rc<dyn ShapeBorder>: Unpin,
Rc<dyn BorderSideExtension>: Unpin,
Rc<dyn Widget>: Unpin,
Rc<dyn OutlinedBorder>: Unpin,
Rc<dyn Fn(&mut App, bool)>: Unpin,
*const u8 is !null: Unpin,
impl UnsafeUnpin for CheckboxListTilewhere
*const RcInner<dyn Key> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Key>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, Option<bool>)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, Option<bool>)>>: UnsafeUnpin,
*const RcInner<dyn MouseCursor> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn MouseCursor>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
&'static FocusNodeVTable: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: UnsafeUnpin,
PhantomData<fn() -> WidgetStatesController>: UnsafeUnpin,
*const RcInner<dyn ShapeBorder> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn ShapeBorder>>: UnsafeUnpin,
*const RcInner<dyn BorderSideExtension> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn BorderSideExtension>>: UnsafeUnpin,
*const RcInner<dyn Widget> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Widget>>: UnsafeUnpin,
*const RcInner<dyn OutlinedBorder> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn OutlinedBorder>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, bool)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, bool)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<W> IntoWidget<StatelessKind> for Wwhere
W: StatelessWidget,
impl<W> IntoWidget<StatelessKind> for Wwhere
W: StatelessWidget,
Source§fn into_widget(self) -> Rc<dyn Widget>
fn into_widget(self) -> Rc<dyn Widget>
creation_location.