IconWithAction class

An icon that performs an action when the icon is triggered.

Inheritance
Annotations
  • @Deprecated('Use the IconAffix.withAction directly')

Constructors

IconWithAction(String name, IconAction action, String ariaLabel, int keyCode, {bool shouldCloseMenuOnTrigger = false})

Properties

action IconAction
final
ariaLabel String
final
hashCode int
The hash code for this object.
no setterinherited
keyCode int
final
name String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldCloseMenuOnTrigger bool
If true, close the menu upon triggering the action.
final

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