FlutterSupportChat constructor
const
FlutterSupportChat({
- Key? key,
- required List<
String> supporterID, - required String currentID,
- required FirebaseFirestore firestoreInstance,
- required String onNewCaseText,
- String createCaseButtonText = 'Create Support Case',
- String writeMessageText = 'Write a message...',
- String closeCaseText = "Do you really want to close this case?",
- dynamic onNewCaseCreated()?,
- dynamic onNewMessageCreated()?,
- Color? senderColor,
- Color? recieverColor,
- String? locale,
Implementation
const FlutterSupportChat(
{Key? key,
required this.supporterID,
required this.currentID,
required this.firestoreInstance,
required this.onNewCaseText,
this.createCaseButtonText = 'Create Support Case',
this.writeMessageText = 'Write a message...',
this.closeCaseText = "Do you really want to close this case?",
this.onNewCaseCreated,
this.onNewMessageCreated,
this.senderColor,
this.recieverColor,
this.locale})
: super(key: key);