AuthButtonStyle class

The visual properties which can have a AuthButton.

Mixed in types
Annotations

Constructors

AuthButtonStyle({Color? buttonColor, Color? splashColor, double? elevation, double? borderRadius, TextStyle? textStyle, EdgeInsets? padding, EdgeInsets? margin, Color? borderColor, double? borderWidth, AuthButtonType? buttonType, double? width, double? height, double? iconSize = 30.0, double? separator, Color? iconBackground, AuthIconType? iconType, Color? shadowColor, Color? progressIndicatorColor, Color? progressIndicatorValueColor, double? progressIndicatorStrokeWidth, double? progressIndicatorValue, Color? iconColor, AuthIndicatorType? progressIndicatorType, VisualDensity? visualDensity, MaterialTapTargetSize? tapTargetSize})
const

Properties

borderColor Color?
Define the color border around the button.
final
borderRadius double?
Define the border radius.
final
borderWidth double?
Define the width of the border which surround the button.
final
buttonColor Color?
Define the background color of an AuthButton.
final
buttonType AuthButtonType?
Define the button Type.
final
elevation double?
The elevation of the button's Material.
final
hashCode int
The hash code for this object.
no setteroverride
height double?
Define the height button, the default value is the minimum.
final
iconBackground Color?
Define the background of an AuthIcon.
final
iconColor Color?
Define the color icon, by default icons are NOT colored.
final
iconSize double?
Define the size of an AuthIcon, defaults 30.0.
final
iconType AuthIconType?
Define the icon type.
final
margin EdgeInsets?
The external space surround the buttons, defaults to EdgeInsets.zero.
final
padding EdgeInsets?
The padding between the button's boundary and its child.
final
progressIndicatorColor Color?
final
progressIndicatorStrokeWidth double?
final
progressIndicatorType AuthIndicatorType?
Determinate the progress indicator to show.
final
progressIndicatorValue double?
final
progressIndicatorValueColor Color?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separator double?
Define the value of the space between the AuthIcon and the Text.
final
shadowColor Color?
Define the color of the shadow placed behind the button.
final
splashColor Color?
The highlight color that's typically used to indicate that the button is focused, hovered, or pressed.
final
tapTargetSize MaterialTapTargetSize?
final
textStyle TextStyle?
If non-null, the style to use for this text.
final
visualDensity VisualDensity?
final
width double?
Define the button width, defaults is the minimum.
final

Methods

copyWith({Color? buttonColor, Color? splashColor, double? elevation, double? borderRadius, EdgeInsets? padding, EdgeInsets? margin, TextStyle? textStyle, Color? borderColor, double? borderWidth, AuthButtonType? buttonType, double? width, double? height, double? iconSize, double? separator, Color? iconBackground, AuthIconType? iconType, Color? shadowColor, Color? progressIndicatorColor, Color? progressIndicatorValueColor, double? progressIndicatorStrokeWidth, double? progressIndicatorValue, Color? iconColor, AuthIndicatorType? progressIndicatorType, VisualDensity? visualDensity, MaterialTapTargetSize? tapTargetSize}) AuthButtonStyle
Returns a copy of this AuthButtonStyle with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
getBackgroundColor(BuildContext context) MaterialStateProperty<Color?>?
getElevation(BuildContext context) MaterialStateProperty<double?>?
getForegroundColor(BuildContext context) MaterialStateProperty<Color?>?
getMinimumSize(BuildContext context) MaterialStateProperty<Size?>?
getOverlayColor(BuildContext context) MaterialStateProperty<Color?>?
getPadding(BuildContext context) MaterialStateProperty<EdgeInsetsGeometry?>?
getShadowColor(BuildContext context) MaterialStateProperty<Color?>?
getShape(BuildContext context) MaterialStateProperty<OutlinedBorder?>?
getSide(BuildContext context) MaterialStateProperty<BorderSide?>?
getTextStyle(BuildContext context) MaterialStateProperty<TextStyle?>?
merge(AuthButtonStyle? style) AuthButtonStyle
Returns a copy of this AuthButtonStyle where the non-null fields in style have replaced the corresponding null fields in this AuthButtonStyle.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replace(AuthButtonStyle? style) AuthButtonStyle
Returns a copy of this AuthButtonStyle with the given style replaced with the new values.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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