ChatController constructor
ChatController({
- bool reverse = false,
- CustomSortCallback? customSortCallback,
- AdditionalGroupCondition? additionalGroupCondition,
Creates a ChatController.
reverselays out the list in reverse so it starts at the newest message. Defaults tofalse.customSortCallbackorders messages with the same timestamp.additionalGroupConditionadds a condition for grouping messages.
Implementation
ChatController({
bool reverse = false,
this._customSortCallback,
this._additionalGroupCondition,
}) {
_reverse = reverse;
}