evaluateHistoryReadPositionTop method
在消息列表稳定后上报顶部真实消息,用于决定入口是否可见。
Implementation
void evaluateHistoryReadPositionTop(
int createTime, {
bool hasReachedHistoryStart = false,
}) {
if (_isDisposed) return;
final changed = historyReadPositionTracker.evaluateTopMessage(
createTime,
hasReachedHistoryStart: hasReachedHistoryStart,
);
if (changed) {
notifyListeners();
}
}