ChatUIKitDialogAction<T>.destructive constructor

ChatUIKitDialogAction<T>.destructive({
  1. required String label,
  2. TextStyle? style,
  3. VoidCallback? onTap,
})

Implementation

ChatUIKitDialogAction.destructive({
  required this.label,
  this.style,
  this.onTap,
})  : type = ChatUIKitDialogActionType.destructive,
      onInputsTap = null;