IconStyleData class

A class to configure the theme of the button's icon.

Constructors

IconStyleData({Widget icon = const Icon(Icons.arrow_drop_down), Color? iconDisabledColor, Color? iconEnabledColor, double iconSize = 24, Widget? openMenuIcon})
Creates an IconStyleData.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon Widget
The widget to use for the drop-down button's suffix icon.
final
iconDisabledColor Color?
The color of any Icon descendant of icon if this button is disabled, i.e. if onChanged is null.
final
iconEnabledColor Color?
The color of any Icon descendant of icon if this button is enabled, i.e. if onChanged is defined.
final
iconSize double
The size to use for the drop-down button's icon.
final
openMenuIcon Widget?
Shows different icon when dropdown menu is open
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited