ButtonStyle class

Mixed-in types

Constructors

ButtonStyle.new({WidgetStateProperty<TextStyle?>? textStyle, WidgetStateProperty<Color?>? backgroundColor, WidgetStateProperty<Color?>? foregroundColor, WidgetStateProperty<Color?>? shadowColor, WidgetStateProperty<double?>? elevation, WidgetStateProperty<EdgeInsetsGeometry?>? padding, WidgetStateProperty<ShapeBorder?>? shape, WidgetStateProperty<double?>? iconSize})
const

Properties

backgroundColor WidgetStateProperty<Color?>?
final
elevation WidgetStateProperty<double?>?
final
foregroundColor WidgetStateProperty<Color?>?
final
hashCode int
The hash code for this object.
no setterinherited
iconSize WidgetStateProperty<double?>?
final
padding WidgetStateProperty<EdgeInsetsGeometry?>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor WidgetStateProperty<Color?>?
final
shape WidgetStateProperty<ShapeBorder?>?
final
textStyle WidgetStateProperty<TextStyle?>?
final

Methods

copyWith({WidgetStateProperty<TextStyle?>? textStyle, WidgetStateProperty<Color?>? backgroundColor, WidgetStateProperty<Color?>? foregroundColor, WidgetStateProperty<Color?>? shadowColor, WidgetStateProperty<double?>? elevation, WidgetStateProperty<EdgeInsetsGeometry?>? padding, WidgetStateProperty<ShapeBorder?>? shape, WidgetStateProperty<double?>? iconSize}) ButtonStyle
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
merge(ButtonStyle? other) ButtonStyle?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

lerp(ButtonStyle? a, ButtonStyle? b, double t) ButtonStyle