logo
pub struct ButtonThemeData {
Show 15 fields pub text_theme: ButtonTextTheme, pub min_width: f32, pub height: f32, pub padding: Box<dyn EdgeInsetsGeometry>, pub shape: Box<dyn ShapeBorder>, pub layout_behavior: ButtonBarLayoutBehavior, pub aligned_dropdown: bool, pub button_color: Color, pub disabled_color: Color, pub focus_color: Color, pub hover_color: Color, pub highlight_color: Color, pub splash_color: Color, pub color_scheme: ColorScheme, pub material_tap_target_size: MaterialTapTargetSize,
}

Fields

text_theme: ButtonTextThememin_width: f32height: f32padding: Box<dyn EdgeInsetsGeometry>shape: Box<dyn ShapeBorder>layout_behavior: ButtonBarLayoutBehavioraligned_dropdown: boolbutton_color: Colordisabled_color: Colorfocus_color: Colorhover_color: Colorhighlight_color: Colorsplash_color: Colorcolor_scheme: ColorSchemematerial_tap_target_size: MaterialTapTargetSize

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.