MacosPulldownButtonThemeData class
A style that overrides the default appearance of
MacosPulldownButtons when it is used with MacosPulldownButtonTheme or with the
overall MacosTheme's MacosThemeData.MacosPulldownButtonTheme
.
See also:
- MacosPulldownButtonTheme, the theme which is configured with this class.
MacosThemeData.MacosPulldownButtonTheme
, which can be used to override the default style for MacosPulldownButtons below the overall MacosTheme.
- Mixed in types
Constructors
- MacosPulldownButtonThemeData({Color? highlightColor, Color? backgroundColor, Color? pulldownColor, Color? iconColor})
-
Creates a MacosPulldownButtonThemeData.
const
Properties
- backgroundColor → Color?
-
The default background color for MacosPulldownButton.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- highlightColor → Color?
-
The default highlight color for MacosPulldownButton.
final
- iconColor → Color?
-
The default color for a MacosPulldownButton's icon.
final
- pulldownColor → Color?
-
The default pull-down menu color for MacosPulldownButton.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Color? highlightColor, Color? backgroundColor, Color? pulldownColor, Color? iconColor}) → MacosPulldownButtonThemeData - Copies this MacosPulldownButtonThemeData into another.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
merge(
MacosPulldownButtonThemeData? other) → MacosPulldownButtonThemeData - Merges this MacosPulldownButtonThemeData 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(
MacosPulldownButtonThemeData a, MacosPulldownButtonThemeData b, double t) → MacosPulldownButtonThemeData - Linearly interpolates between two MacosPulldownButtonThemeData.