MacosIconButtonThemeData class
A style that overrides the default appearance of MacosIconButtons when it's used with MacosIconButtonTheme or with the overall MacosTheme's MacosThemeData.iconButtonTheme.
See also:
- MacosIconButtonTheme, the theme which is configured with this class.
- MacosThemeData.iconButtonTheme, which can be used to override the default style for MacosIconButtons below the overall MacosTheme.
- Mixed in types
Constructors
- MacosIconButtonThemeData({Color? backgroundColor, Color? hoverColor, Color? disabledColor, BoxShape? shape, BorderRadius? borderRadius, BoxConstraints? boxConstraints, EdgeInsetsGeometry? padding})
-
Builds a MacosIconButtonThemeData.
const
Properties
- backgroundColor → Color?
-
The default background color for MacosIconButton.
final
- borderRadius → BorderRadius?
-
The default border radius for MacosIconButton.
final
- boxConstraints → BoxConstraints?
-
The default box constraints for MacosIconButton.
final
- disabledColor → Color?
-
The default disabled color for MacosIconButton.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hoverColor → Color?
-
The color of the button when the mouse hovers over it.
final
- padding → EdgeInsetsGeometry?
-
The default padding for MacosIconButton.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → BoxShape?
-
The default shape for MacosIconButton.
final
Methods
-
copyWith(
{Color? backgroundColor, Color? disabledColor, Color? hoverColor, BoxShape? shape, BorderRadius? borderRadius, BoxConstraints? boxConstraints, EdgeInsetsGeometry? padding}) → MacosIconButtonThemeData - Copies this MacosIconButtonThemeData into another.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
merge(
MacosIconButtonThemeData? other) → MacosIconButtonThemeData - Merges this MacosIconButtonThemeData with another.
-
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(
MacosIconButtonThemeData a, MacosIconButtonThemeData b, double t) → MacosIconButtonThemeData - Linearly interpolate between two MacosIconButtonThemeData.