ComponentThemeButtonStyle<T extends ButtonTheme> class

Implemented types
Available extensions

Constructors

ComponentThemeButtonStyle.new({required AbstractButtonStyle fallback})
const

Properties

decoration ButtonStateProperty<Decoration>
no setteroverride
fallback AbstractButtonStyle
final
hashCode int
The hash code for this object.
no setterinherited
iconTheme ButtonStateProperty<IconThemeData>
no setteroverride
margin ButtonStateProperty<EdgeInsetsGeometry>
no setteroverride
mouseCursor ButtonStateProperty<MouseCursor>
no setteroverride
padding ButtonStateProperty<EdgeInsetsGeometry>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle ButtonStateProperty<TextStyle>
no setteroverride

Methods

copyWith({ButtonStatePropertyDelegate<Decoration>? decoration, ButtonStatePropertyDelegate<MouseCursor>? mouseCursor, ButtonStatePropertyDelegate<EdgeInsetsGeometry>? padding, ButtonStatePropertyDelegate<TextStyle>? textStyle, ButtonStatePropertyDelegate<IconThemeData>? iconTheme, ButtonStatePropertyDelegate<EdgeInsetsGeometry>? margin}) AbstractButtonStyle

Available on AbstractButtonStyle, provided by the ButtonStyleExtension extension

find(BuildContext context) → T?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withBackgroundColor({Color? color, Color? hoverColor, Color? focusColor, Color? disabledColor}) AbstractButtonStyle

Available on AbstractButtonStyle, provided by the ButtonStyleExtension extension

withBorder({Border? border, Border? hoverBorder, Border? focusBorder, Border? disabledBorder}) AbstractButtonStyle

Available on AbstractButtonStyle, provided by the ButtonStyleExtension extension

withBorderRadius({BorderRadiusGeometry? borderRadius, BorderRadiusGeometry? hoverBorderRadius, BorderRadiusGeometry? focusBorderRadius, BorderRadiusGeometry? disabledBorderRadius}) AbstractButtonStyle

Available on AbstractButtonStyle, provided by the ButtonStyleExtension extension

withForegroundColor({Color? color, Color? hoverColor, Color? focusColor, Color? disabledColor}) AbstractButtonStyle

Available on AbstractButtonStyle, provided by the ButtonStyleExtension extension

withPadding({EdgeInsetsGeometry? padding, EdgeInsetsGeometry? hoverPadding, EdgeInsetsGeometry? focusPadding, EdgeInsetsGeometry? disabledPadding}) AbstractButtonStyle

Available on AbstractButtonStyle, provided by the ButtonStyleExtension extension

Operators

operator ==(Object other) bool
The equality operator.
inherited