Chatbot constructor

const Chatbot({
  1. Key? key,
  2. required String apiKey,
  3. dynamic userId,
  4. String? userToken,
  5. Map<String, dynamic>? userProfile,
  6. ChatbotEventHandler? onEvent,
  7. VoidCallback? onOpen,
  8. VoidCallback? onClose,
  9. VoidCallback? onReady,
  10. RobylonChatbotController? controller,
  11. bool showFloatingButton = true,
  12. bool enableAnimation = true,
  13. bool enableDebugLogs = false,
})

Implementation

const Chatbot({
  super.key,
  required this.apiKey,
  this.userId,
  this.userToken,
  this.userProfile,
  this.onEvent,
  this.onOpen,
  this.onClose,
  this.onReady,
  this.controller,
  this.showFloatingButton = true,
  this.enableAnimation = true,
  this.enableDebugLogs = false,
});