poplementions static method

Mention poplementions()

Implementation

static Mention poplementions() {
  return Mention(
    trigger: '@',
    style: const TextStyle(color: Colors.amber),
    data: peopleList,
    matchAll: false,
    suggestionBuilder: (data) {
      return Material(
        child: ListTile(
          contentPadding: const EdgeInsets.all(0),
          enableFeedback: true,
          leading: CircleAvatar(
            foregroundImage: CachedNetworkImageProvider(data['photo']),
          ),
          title: Text(data['full_name']),
          subtitle: Text(
            "@${data['display']}",
            style: TextStyle(
              color: Get.theme.primaryColor.withValues(alpha: 0.7),
            ),
          ),
        ),
      );
    },
  );
}