ChatUIKitEventAction<T> class
Constructors
- ChatUIKitEventAction({required ChatUIKitEventActionType type, required String label, required ChatUIKitActionType actionType, TextStyle? style, VoidCallback? onTap, Widget? icon})
- ChatUIKitEventAction.destructive({required String label, ChatUIKitActionType actionType = ChatUIKitActionType.custom, TextStyle? style, VoidCallback? onTap, Widget? icon})
- ChatUIKitEventAction.normal({required String label, ChatUIKitActionType actionType = ChatUIKitActionType.custom, TextStyle? style, VoidCallback? onTap, Widget? icon})
Properties
- actionType → ChatUIKitActionType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
final
- label → String
-
final
- onTap → VoidCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle?
-
final
- type → ChatUIKitEventActionType
-
final
Methods
-
copyWith(
{ChatUIKitEventActionType? type, String? label, TextStyle? style, Widget? icon, T? onTap()?}) → ChatUIKitEventAction -
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