logo
pub struct InputChip {
Show 21 fields pub key: Key, pub avatar: Box<dyn Widget>, pub label: Box<dyn Widget>, pub label_style: TextStyle, pub label_padding: Box<dyn EdgeInsetsGeometry>, pub delete_icon: Box<dyn Widget>, pub on_deleted: Option<VoidCallback>, pub delete_icon_color: Color, pub use_delete_button_tooltip: bool, pub delete_button_tooltip_message: String, pub side: BorderSide, pub shape: Box<dyn OutlinedBorder>, pub clip_behavior: Clip, pub focus_node: FocusNode, pub autofocus: bool, pub background_color: Color, pub padding: Box<dyn EdgeInsetsGeometry>, pub visual_density: VisualDensity, pub material_tap_target_size: MaterialTapTargetSize, pub elevation: f32, pub shadow_color: Color,
}

Fields

key: Keyavatar: Box<dyn Widget>label: Box<dyn Widget>label_style: TextStylelabel_padding: Box<dyn EdgeInsetsGeometry>delete_icon: Box<dyn Widget>on_deleted: Option<VoidCallback>delete_icon_color: Coloruse_delete_button_tooltip: booldelete_button_tooltip_message: Stringside: BorderSideshape: Box<dyn OutlinedBorder>clip_behavior: Clipfocus_node: FocusNodeautofocus: boolbackground_color: Colorpadding: Box<dyn EdgeInsetsGeometry>visual_density: VisualDensitymaterial_tap_target_size: MaterialTapTargetSizeelevation: f32shadow_color: Color

Trait Implementations

Returns the “default value” for a type. Read more

Inflates this configuration to a concrete instance

The widdget key

The control x position, relative to its container

The control y position, relative to its container

The control width

The control height

The control minimum width

The control minimum height

The control maximum width

The control maximum height

The control parent, if any

The control depth. Usually set internally

Whether or not the control is visible at creation

Whether or not the control responds to mouse input

Whether or not the control responds to key input

Whether or not the control emits render signals from the canvas render call

Internal. Internal parent visibility for creating sub controls.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Typed getter

Inspect the context.

Inspect the context.

Inspect the context.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert into color

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Sets value as a parameter of self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.