ButtonThemeData class

Mixed in types
Annotations

Constructors

ButtonThemeData({ButtonStyle? defaultButtonStyle, ButtonStyle? filledButtonStyle, ButtonStyle? textButtonStyle, ButtonStyle? outlinedButtonStyle, ButtonStyle? iconButtonStyle})
const
ButtonThemeData.all(ButtonStyle? style)
const

Properties

defaultButtonStyle ButtonStyle?
final
filledButtonStyle ButtonStyle?
final
hashCode int
The hash code for this object.
no setterinherited
iconButtonStyle ButtonStyle?
final
outlinedButtonStyle ButtonStyle?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textButtonStyle ButtonStyle?
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
merge(ButtonThemeData? style) ButtonThemeData
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

buttonColor(Brightness brightness, Set<ButtonStates> states) Color
Defines the default color used by Buttons using the current brightness and state.
checkedInputColor(ThemeData style, Set<ButtonStates> states) Color
Defines the default color used for inputs when checked, such as checkbox, radio button and toggle switch. It's based on the current style and the current state.
lerp(ButtonThemeData? a, ButtonThemeData? b, double t) ButtonThemeData
uncheckedInputColor(ThemeData style, Set<ButtonStates> states) Color