IconAction class final

An icon with its own size, color and tooltip: an app bar's leading icon or action (Flutter's IconButton in AppBar.actions). actions are its reactions, as a node's.

Annotations
  • @immutable

Constructors

IconAction({required IconGlyph icon, double? size, Color? color, String? tooltip, List<Reaction> actions = const []})
const

Properties

actions → List<Reaction>
final
color → Color?
final
hashCode → int
The hash code for this object.
no setteroverride
icon → Json
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → double?
final
tooltip → String?
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Object? json) → IconAction?