SuggestionSection constructor

const SuggestionSection({
  1. Key? key,
  2. required double itemHeight,
  3. required dynamic addMention(
    1. String replaceText
    ),
  4. required List<MentionData> suggestionList,
  5. EdgeInsetsGeometry? margin,
  6. Decoration? decoration,
  7. EdgeInsetsGeometry? padding,
  8. BorderRadius? borderRadius,
  9. Color? color,
  10. Widget itemBuilder(
    1. int index,
    2. MentionData data
    )?,
  11. bool? dividerBetweenItems = true,
})

Implementation

const SuggestionSection(
    {super.key,
    required this.itemHeight,
    required this.addMention,
    required this.suggestionList,
    this.margin,
    this.decoration,
    this.padding,
    this.borderRadius,
    this.color,
    this.itemBuilder,
    this.dividerBetweenItems = true});