ButtonConfig class
Constructors
- ButtonConfig.new({Color? backgroundColor, Color? textColor, double? fontSize = 16, double? borderRadius = 8, EdgeInsetsGeometry? padding = const EdgeInsets.symmetric(horizontal: 20), double? borderWidth, Color? borderColor})
-
const
Properties
- backgroundColor → Color?
-
final
- borderColor → Color?
-
final
- borderRadius → double?
-
final
- borderWidth → double?
-
final
- fontSize → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textColor → Color?
-
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 -
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