ButtonDecorationElement class
shapeButton : shape of the Button. | backgroundColorButton : background color of the button | size : customize size of the button elevation : elevation of the button(default:2.0)
Constructors
- ButtonDecorationElement({ShapeBorder shapeButton = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(5.0))), Color? backgroundColorButton, Size? size = const Size.fromWidth(200), double elevation = 2.0})
-
const
Properties
- backgroundColorButton → Color?
-
final
- elevation → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shapeButton → ShapeBorder
-
final
- size → Size?
-
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