LoadingButtonStyle class

Style configuration for LoadingButton

Annotations

Constructors

LoadingButtonStyle.new({Color? backgroundColor, Color? foregroundColor, Color? disabledBackgroundColor, Color? disabledForegroundColor, Color? loadingBackgroundColor, Color? successBackgroundColor, Color? errorBackgroundColor, Color? borderColor, double? borderWidth, double? borderRadius, double? elevation, Color? shadowColor, EdgeInsetsGeometry? padding, TextStyle? textStyle, double? iconSize, AlignmentGeometry? alignment})
const

Properties

alignment AlignmentGeometry?
final
backgroundColor Color?
final
borderColor Color?
final
borderRadius double?
final
borderWidth double?
final
disabledBackgroundColor Color?
final
disabledForegroundColor Color?
final
elevation double?
final
errorBackgroundColor Color?
final
foregroundColor Color?
final
hashCode int
The hash code for this object.
no setteroverride
iconSize double?
final
loadingBackgroundColor Color?
final
padding EdgeInsetsGeometry?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
final
successBackgroundColor Color?
final
textStyle TextStyle?
final

Methods

copyWith({Color? backgroundColor, Color? foregroundColor, Color? disabledBackgroundColor, Color? disabledForegroundColor, Color? loadingBackgroundColor, Color? successBackgroundColor, Color? errorBackgroundColor, Color? borderColor, double? borderWidth, double? borderRadius, double? elevation, Color? shadowColor, EdgeInsetsGeometry? padding, TextStyle? textStyle, double? iconSize, AlignmentGeometry? alignment}) LoadingButtonStyle
Create a copy with modified properties
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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