CButtonDecoration class
Class defining the decoration properties for a CButton.
Constructors
- CButtonDecoration({Widget? icon, Widget? suffixIcon, bool filled = false, bool bordered = false, CButtonSize size = CButtonSize.normal, Color? filledColor, Color? borderColor, LinearGradient? gradient, double radius = 15})
-
const
Properties
- borderColor → Color?
-
The color of the button's border.
final
- bordered → bool
-
Indicates whether the button has a border or not.
final
- filled → bool
-
Indicates whether the button is filled with color or not.
final
- filledColor → Color?
-
The color to fill the button with.
final
- gradient → LinearGradient?
-
The gradient to fill the button with.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
An optional icon to display before the child widget.
final
- radius → double
-
The radius of the button's corners.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → CButtonSize
-
Defines the size of the button.
final
- suffixIcon → Widget?
-
An optional icon to display after the child widget.
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