ButtonThemeData class
- Mixed in types
- Annotations
Constructors
- ButtonThemeData({ButtonStyle? defaultButtonStyle, ButtonStyle? filledButtonStyle, ButtonStyle? hyperlinkButtonStyle, 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
- hyperlinkButtonStyle → ButtonStyle?
-
final
- iconButtonStyle → ButtonStyle?
-
final
- outlinedButtonStyle → ButtonStyle?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
- Defines the default color used by Buttons using the current brightness and state.
- Defines the default foregournd color used by Buttons using the current brightness and state.
-
checkedInputColor(
FluentThemeData theme, 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 -
shapeBorder(
BuildContext context, Set< ButtonStates> states) → ShapeBorder -
uncheckedInputColor(
FluentThemeData theme, Set< ButtonStates> states, {bool transparentWhenNone = false, bool transparentWhenDisabled = false}) → Color