ChatUIKitDialogAction<T>.cancel constructor

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

Implementation

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