StreamInlineNotificationProps class
Properties for configuring a StreamInlineNotification.
This class holds all the configuration options for an inline notification, allowing them to be passed through the StreamComponentFactory.
See also:
- StreamInlineNotification, which uses these properties.
- DefaultStreamInlineNotification, the default implementation.
Constructors
- StreamInlineNotificationProps({required Widget title, Widget? description, StreamInlineNotificationType type = .info, Widget? icon, bool showIcon = true})
-
Creates properties for an inline notification.
const
Properties
- description → Widget?
-
Supporting text shown under title.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
A leading icon that replaces the default one for type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showIcon → bool
-
Whether to show the leading icon.
final
- title → Widget
-
The primary message.
final
- type → StreamInlineNotificationType
-
The kind of message, which picks the leading icon and the colors.
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