ChatWidget constructor

const ChatWidget({
  1. required BotConfiguration configuration,
  2. dynamic onOpen({
    1. required bool isOpen,
    })?,
  3. Widget? fabWidget,
  4. bool mobile = true,
  5. Key? key,
})

Creates a new instance of the floating chat button.

Implementation

const ChatWidget({
  required this.configuration,
  this.onOpen,
  this.fabWidget,
  this.mobile = true,
  super.key,
});