BannerEvent class
Banner feedback event
- Inheritance
-
- Object
- FeedbackEvent
- BannerEvent
Constructors
-
BannerEvent({required String id, required String message, BannerType type = BannerType.info, List<
BannerAction> actions = const [], int priority = 1, Duration? duration, Set<String> tags = const {}, bool dismissible = true, Map<String, dynamic> metadata = const {}}) -
const
Properties
-
actions
→ List<
BannerAction> -
final
- deduplicationKey → String
-
Create deduplication key for this event
no setterinherited
- dismissible → bool
-
Whether this event can be dismissed by user
finalinherited
- duration → Duration?
-
Duration to show the feedback
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for this feedback event
finalinherited
- message → String
-
Message to display
finalinherited
-
metadata
→ Map<
String, dynamic> -
Metadata for additional properties
finalinherited
- priority → int
-
Priority for ordering (higher = more important)
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Tags for categorization and deduplication
finalinherited
- type → BannerType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert to JSON for serialization
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited