logo
pub struct InputDecoration {
Show 50 fields pub align_label_with_hint: Option<bool>, pub border: InputBorder, pub constraints: Option<BoxConstraints>, pub content_padding: Box<dyn EdgeInsetsGeometry>, pub counter: Box<dyn Widget>, pub counter_style: Option<TextStyle>, pub counter_text: Option<String>, pub disabled_border: Option<InputBorder>, pub enabled: bool, pub enabled_border: Option<InputBorder>, pub error_border: Option<InputBorder>, pub error_max_lines: Option<i32>, pub error_style: Option<TextStyle>, pub error_text: Option<String>, pub fill_color: Option<Color>, pub filled: Option<bool>, pub floating_label_alignment: Option<FloatingLabelAlignment>, pub floating_label_behavior: Option<FloatingLabelBehavior>, pub floating_label_style: Option<TextStyle>, pub focus_color: Option<Color>, pub focused_border: Option<InputBorder>, pub focused_error_border: Option<InputBorder>, pub helper_max_lines: Option<i32>, pub helper_style: Option<TextStyle>, pub helper_text: Option<String>, pub hint_max_lines: Option<i32>, pub hint_style: TextStyle, pub hint_text: Option<String>, pub hint_text_direction: Option<TextDirection>, pub hover_color: Option<Color>, pub icon: Box<dyn Widget>, pub icon_color: Option<Color>, pub is_collapsed: bool, pub is_dense: Option<bool>, pub label: Box<dyn Widget>, pub label_style: TextStyle, pub label_text: Option<String>, pub prefix: Box<dyn Widget>, pub prefix_icon: Box<dyn Widget>, pub prefix_icon_color: Option<Color>, pub prefix_icon_constraints: Option<BoxConstraints>, pub prefix_style: Option<TextStyle>, pub prefix_text: Option<String>, pub semantic_counter_text: Option<String>, pub suffix: Box<dyn Widget>, pub suffix_icon: Box<dyn Widget>, pub suffix_icon_color: Option<Color>, pub suffix_icon_constraints: Option<BoxConstraints>, pub suffix_style: Option<TextStyle>, pub suffix_text: Option<String>,
}

Fields

align_label_with_hint: Option<bool>border: InputBorderconstraints: Option<BoxConstraints>content_padding: Box<dyn EdgeInsetsGeometry>counter: Box<dyn Widget>counter_style: Option<TextStyle>counter_text: Option<String>disabled_border: Option<InputBorder>enabled: boolenabled_border: Option<InputBorder>error_border: Option<InputBorder>error_max_lines: Option<i32>error_style: Option<TextStyle>error_text: Option<String>fill_color: Option<Color>filled: Option<bool>floating_label_alignment: Option<FloatingLabelAlignment>floating_label_behavior: Option<FloatingLabelBehavior>floating_label_style: Option<TextStyle>focus_color: Option<Color>focused_border: Option<InputBorder>focused_error_border: Option<InputBorder>helper_max_lines: Option<i32>helper_style: Option<TextStyle>helper_text: Option<String>hint_max_lines: Option<i32>hint_style: TextStylehint_text: Option<String>hint_text_direction: Option<TextDirection>hover_color: Option<Color>icon: Box<dyn Widget>icon_color: Option<Color>is_collapsed: boolis_dense: Option<bool>label: Box<dyn Widget>label_style: TextStylelabel_text: Option<String>prefix: Box<dyn Widget>prefix_icon: Box<dyn Widget>prefix_icon_color: Option<Color>prefix_icon_constraints: Option<BoxConstraints>prefix_style: Option<TextStyle>prefix_text: Option<String>semantic_counter_text: Option<String>suffix: Box<dyn Widget>suffix_icon: Box<dyn Widget>suffix_icon_color: Option<Color>suffix_icon_constraints: Option<BoxConstraints>suffix_style: Option<TextStyle>suffix_text: Option<String>

Trait Implementations

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

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.