ButtonConfig class

Button styling config for dialogs.

Constructors

ButtonConfig({Color? backgroundColor, Color? textColor, double? fontSize = 16, double? borderRadius = 8, EdgeInsetsGeometry? padding = const EdgeInsets.symmetric(horizontal: 20), double? borderWidth, Color? borderColor})
Public member.
const

Properties

backgroundColor → Color?
backgroundColor.
final
borderColor → Color?
borderColor.
final
borderRadius → double?
borderRadius.
final
borderWidth → double?
borderWidth.
final
fontSize → double?
fontSize.
final
hashCode → int
The hash code for this object.
no setterinherited
padding → EdgeInsetsGeometry?
padding.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textColor → Color?
textColor.
final

Methods

copyWith({Color? backgroundColor, Color? textColor, double? fontSize, bool? enableGradient, double? borderRadius, EdgeInsetsGeometry? padding, Widget? icon, Widget? suffixIcon, double? borderWidth, Color? borderColor, List<Color>? gradientColors, Gradient? customGradient}) → ButtonConfig
Public member.
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