SuggestionController constructor
SuggestionController({
- double itemHeight = 100,
- String hashtagSymbol = '#',
- String mentionSymbol = '@',
- double containerMaxHeight = 250,
- List<
HashTag> ? initalTags, - List<
Mention> ? intialMentions, - Future<
List< onSearchMention()?,Mention> > - Future<
List< onSearchTags()?,HashTag> > - List<
HashTag> ? hashtagSuggestions = const [], - List<
Mention> ? mentionSuggestions = const [], - dynamic onHashTagSelected()?,
- dynamic onMentionSelected()?,
- SuggestionPosition? position = SuggestionPosition.bottom,
- Widget hashTagSearchCard()?,
- Widget mentionSearchCard()?,
- Color? borderColor,
Implementation
SuggestionController(
{this.itemHeight = 100,
this.hashtagSymbol = '#',
this.mentionSymbol = '@',
this.containerMaxHeight = 250,
this.initalTags,
this.intialMentions,
this.onSearchMention,
this.onSearchTags,
this.hashtagSuggestions = const [],
this.mentionSuggestions = const [],
this.onHashTagSelected,
this.onMentionSelected,
this.position = SuggestionPosition.bottom,
this.hashTagSearchCard,
this.mentionSearchCard,
this.borderColor});