Struct components::material::InputDecorationTheme
source · [−]pub struct InputDecorationTheme {Show 26 fields
pub label_style: TextStyle,
pub floating_label_style: TextStyle,
pub helper_style: TextStyle,
pub helper_max_lines: i32,
pub hint_style: TextStyle,
pub error_style: TextStyle,
pub error_max_lines: i32,
pub floating_label_behavior: FloatingLabelBehavior,
pub is_dense: bool,
pub content_padding: Box<dyn EdgeInsetsGeometry>,
pub is_collapsed: bool,
pub prefix_style: TextStyle,
pub suffix_style: TextStyle,
pub counter_style: TextStyle,
pub filled: bool,
pub fill_color: Color,
pub focus_color: Color,
pub hover_color: Color,
pub error_border: InputBorder,
pub focused_border: InputBorder,
pub focused_error_border: InputBorder,
pub disabled_border: InputBorder,
pub enabled_border: InputBorder,
pub border: InputBorder,
pub align_label_with_hint: bool,
pub constraints: BoxConstraints,
}
Fields
label_style: TextStyle
floating_label_style: TextStyle
helper_style: TextStyle
helper_max_lines: i32
hint_style: TextStyle
error_style: TextStyle
error_max_lines: i32
floating_label_behavior: FloatingLabelBehavior
is_dense: bool
content_padding: Box<dyn EdgeInsetsGeometry>
is_collapsed: bool
prefix_style: TextStyle
suffix_style: TextStyle
counter_style: TextStyle
filled: bool
fill_color: Color
focus_color: Color
hover_color: Color
error_border: InputBorder
focused_border: InputBorder
focused_error_border: InputBorder
disabled_border: InputBorder
enabled_border: InputBorder
border: InputBorder
align_label_with_hint: bool
constraints: BoxConstraints
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for InputDecorationTheme
impl !Send for InputDecorationTheme
impl !Sync for InputDecorationTheme
impl Unpin for InputDecorationTheme
impl !UnwindSafe for InputDecorationTheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.