MentionInputTextEditingController constructor

MentionInputTextEditingController(
  1. AllMentionWords _allMentionWords
)

Implementation

MentionInputTextEditingController(this._allMentionWords)
    : _pattern = _allMentionWords.keys.isNotEmpty
          ? "(${_allMentionWords.keys.map((key) => RegExp.escape(key)).join('|')})"
          : null;