pub struct ElevatedButtonStyleFromBuilder { /* private fields */ }Expand description
Dart’s ElevatedButton.styleFrom, collecting its arguments; build is the
call.
Implementations§
Source§impl ElevatedButtonStyleFromBuilder
impl ElevatedButtonStyleFromBuilder
Sourcepub fn foreground_color(
self,
foreground_color: Color,
) -> ElevatedButtonStyleFromBuilder
pub fn foreground_color( self, foreground_color: Color, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(foregroundColor:).
Sourcepub fn background_color(
self,
background_color: Color,
) -> ElevatedButtonStyleFromBuilder
pub fn background_color( self, background_color: Color, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(backgroundColor:).
Sourcepub fn disabled_foreground_color(
self,
disabled_foreground_color: Color,
) -> ElevatedButtonStyleFromBuilder
pub fn disabled_foreground_color( self, disabled_foreground_color: Color, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(disabledForegroundColor:).
Sourcepub fn disabled_background_color(
self,
disabled_background_color: Color,
) -> ElevatedButtonStyleFromBuilder
pub fn disabled_background_color( self, disabled_background_color: Color, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(disabledBackgroundColor:).
Sourcepub fn shadow_color(self, shadow_color: Color) -> ElevatedButtonStyleFromBuilder
pub fn shadow_color(self, shadow_color: Color) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(shadowColor:).
Sourcepub fn surface_tint_color(
self,
surface_tint_color: Color,
) -> ElevatedButtonStyleFromBuilder
pub fn surface_tint_color( self, surface_tint_color: Color, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(surfaceTintColor:).
Sourcepub fn icon_color(self, icon_color: Color) -> ElevatedButtonStyleFromBuilder
pub fn icon_color(self, icon_color: Color) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(iconColor:).
Sourcepub fn icon_size(self, icon_size: f64) -> ElevatedButtonStyleFromBuilder
pub fn icon_size(self, icon_size: f64) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(iconSize:).
Sourcepub fn icon_alignment(
self,
icon_alignment: IconAlignment,
) -> ElevatedButtonStyleFromBuilder
pub fn icon_alignment( self, icon_alignment: IconAlignment, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(iconAlignment:).
Sourcepub fn disabled_icon_color(
self,
disabled_icon_color: Color,
) -> ElevatedButtonStyleFromBuilder
pub fn disabled_icon_color( self, disabled_icon_color: Color, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(disabledIconColor:).
Sourcepub fn overlay_color(
self,
overlay_color: Color,
) -> ElevatedButtonStyleFromBuilder
pub fn overlay_color( self, overlay_color: Color, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(overlayColor:).
Sourcepub fn elevation(self, elevation: f64) -> ElevatedButtonStyleFromBuilder
pub fn elevation(self, elevation: f64) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(elevation:).
Sourcepub fn text_style(self, text_style: TextStyle) -> ElevatedButtonStyleFromBuilder
pub fn text_style(self, text_style: TextStyle) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(textStyle:).
Sourcepub fn padding(
self,
padding: EdgeInsetsGeometry,
) -> ElevatedButtonStyleFromBuilder
pub fn padding( self, padding: EdgeInsetsGeometry, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(padding:).
Sourcepub fn minimum_size(self, minimum_size: Size) -> ElevatedButtonStyleFromBuilder
pub fn minimum_size(self, minimum_size: Size) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(minimumSize:).
Sourcepub fn fixed_size(self, fixed_size: Size) -> ElevatedButtonStyleFromBuilder
pub fn fixed_size(self, fixed_size: Size) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(fixedSize:).
Sourcepub fn maximum_size(self, maximum_size: Size) -> ElevatedButtonStyleFromBuilder
pub fn maximum_size(self, maximum_size: Size) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(maximumSize:).
Sourcepub fn side(self, side: BorderSide) -> ElevatedButtonStyleFromBuilder
pub fn side(self, side: BorderSide) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(side:).
Sourcepub fn enabled_mouse_cursor(
self,
enabled_mouse_cursor: MouseCursorRef,
) -> ElevatedButtonStyleFromBuilder
pub fn enabled_mouse_cursor( self, enabled_mouse_cursor: MouseCursorRef, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(enabledMouseCursor:).
Sourcepub fn disabled_mouse_cursor(
self,
disabled_mouse_cursor: MouseCursorRef,
) -> ElevatedButtonStyleFromBuilder
pub fn disabled_mouse_cursor( self, disabled_mouse_cursor: MouseCursorRef, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(disabledMouseCursor:).
Sourcepub fn visual_density(
self,
visual_density: VisualDensity,
) -> ElevatedButtonStyleFromBuilder
pub fn visual_density( self, visual_density: VisualDensity, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(visualDensity:).
Sourcepub fn tap_target_size(
self,
tap_target_size: MaterialTapTargetSize,
) -> ElevatedButtonStyleFromBuilder
pub fn tap_target_size( self, tap_target_size: MaterialTapTargetSize, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(tapTargetSize:).
Sourcepub fn animation_duration(
self,
animation_duration: Duration,
) -> ElevatedButtonStyleFromBuilder
pub fn animation_duration( self, animation_duration: Duration, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(animationDuration:).
Sourcepub fn enable_feedback(
self,
enable_feedback: bool,
) -> ElevatedButtonStyleFromBuilder
pub fn enable_feedback( self, enable_feedback: bool, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(enableFeedback:).
Sourcepub fn alignment(
self,
alignment: AlignmentGeometry,
) -> ElevatedButtonStyleFromBuilder
pub fn alignment( self, alignment: AlignmentGeometry, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(alignment:).
Sourcepub fn splash_factory(
self,
splash_factory: InteractiveInkFeatureFactoryRef,
) -> ElevatedButtonStyleFromBuilder
pub fn splash_factory( self, splash_factory: InteractiveInkFeatureFactoryRef, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(splashFactory:).
Sourcepub fn background_builder(
self,
background_builder: ButtonLayerBuilder,
) -> ElevatedButtonStyleFromBuilder
pub fn background_builder( self, background_builder: ButtonLayerBuilder, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(backgroundBuilder:).
Sourcepub fn foreground_builder(
self,
foreground_builder: ButtonLayerBuilder,
) -> ElevatedButtonStyleFromBuilder
pub fn foreground_builder( self, foreground_builder: ButtonLayerBuilder, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(foregroundBuilder:).
Sourcepub fn size_variant(
self,
size_variant: ButtonSizeVariant,
) -> ElevatedButtonStyleFromBuilder
pub fn size_variant( self, size_variant: ButtonSizeVariant, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(sizeVariant:).
Sourcepub fn shape_variant(
self,
shape_variant: ButtonShapeVariant,
) -> ElevatedButtonStyleFromBuilder
pub fn shape_variant( self, shape_variant: ButtonShapeVariant, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(shapeVariant:).
Sourcepub fn shape(
self,
shape: impl Into<OutlinedBorderRef>,
) -> ElevatedButtonStyleFromBuilder
pub fn shape( self, shape: impl Into<OutlinedBorderRef>, ) -> ElevatedButtonStyleFromBuilder
Dart ElevatedButton.styleFrom(shape:).
Sourcepub fn build(self) -> ButtonStyle
pub fn build(self) -> ButtonStyle
The ButtonStyle ElevatedButton.styleFrom returns for the arguments given.