MessageItem class

Represents an action that is shown with an information, warning, or error message.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

MessageItem({String? title, bool? isCloseAffordance})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isCloseAffordance bool?

Available on MessageItem, provided by the MessageItem$Typings extension

A hint for modal dialogs that the item should be triggered when the user cancels the dialog (e.g. by pressing the ESC key).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String

Available on MessageItem, provided by the MessageItem$Typings extension

A short title like 'Retry', 'Open Log' etc.
getter/setter pair

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