ButtonColorStyle class

Config class used for setting up colors of the different states of the buttons

Available extensions
Annotations
  • @CopyWith()

Constructors

ButtonColorStyle.new({required Color activeButtonTextColor, required Color disabledButtonTextColor, required Color activeGradientColorStart, required Color activeGradientColorEnd, required Color shadowColor, required Color pressedColor, required Color borderColor})
const
ButtonColorStyle.fromContext(BuildContext context, {Color? activeButtonTextColor, Color? disabledButtonTextColor, Color? activeGradientColorStart, Color? activeGradientColorEnd, Color? shadowColor, Color? pressedColor, Color? borderColor})
factory

Properties

activeButtonTextColor Color
final
activeGradientColorEnd Color
final
activeGradientColorStart Color
final
borderColor Color
final
copyWith → _$ButtonColorStyleCWProxy

Available on ButtonColorStyle, provided by the $ButtonColorStyleCopyWith extension

Returns a callable class that can be used as follows: instanceOfButtonColorStyle.copyWith(...) or like so:instanceOfButtonColorStyle.copyWith.fieldName(...).
no setter
disabledButtonTextColor Color
final
hashCode int
The hash code for this object.
no setterinherited
pressedColor Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color
final

Methods

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.
inherited