onOpen property
Callback function called when the chat opens or closes.
Receives true
when the chat opens, false
when it closes.
The close notification includes a 3-second delay to allow for
brief interactions without triggering immediate closure.
Implementation
final Function({required bool isOpen})? onOpen;