PushButtonThemeData class

A style that overrides the default appearance of PushButtons when it's used with PushButtonTheme or with the overall MacosTheme's MacosThemeData.pushButtonTheme.

See also:

Mixed in types

Constructors

PushButtonThemeData({Color? color, Color? disabledColor, Color? secondaryColor})
Creates a PushButtonThemeData.
const

Properties

color Color?
The default background color for PushButton
final
disabledColor Color?
The default disabled color for PushButton
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryColor Color?
The default secondary color (e.g. Cancel/Go back buttons) for PushButton
final

Methods

copyWith({Color? color, Color? disabledColor, Color? secondaryColor}) PushButtonThemeData
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
merge(PushButtonThemeData? other) PushButtonThemeData
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.
override

Static Methods

lerp(PushButtonThemeData a, PushButtonThemeData b, double t) PushButtonThemeData
Linearly interpolate between two PushButtonThemeData.