ButtonStyleData class

A class to configure the theme of the button.

Constructors

ButtonStyleData({double? height, double? width, EdgeInsetsGeometry? padding, BoxDecoration? decoration, int? elevation, MaterialStateProperty<Color?>? overlayColor})
Creates a ButtonStyleData.
const

Properties

decoration BoxDecoration?
The decoration of the Button
final
elevation int?
The elevation of the Button
final
hashCode int
The hash code for this object.
no setterinherited
height double?
The height of the button
final
overlayColor MaterialStateProperty<Color?>?
Defines the ink response focus, hover, and splash colors.
final
padding EdgeInsetsGeometry?
The inner padding of the Button
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double?
The width of the button
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