Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to implement emoji as an action button #9

Open
cool2apps opened this issue Jul 16, 2022 · 1 comment
Open

how to implement emoji as an action button #9

cool2apps opened this issue Jul 16, 2022 · 1 comment
Labels
invalid This doesn't seem right question Further information is requested

Comments

@cool2apps
Copy link

Thanks for this wonderful plugin. I would like to add emoji add button to MessageBar like above. But I could not figure out how to implement this. Is it possible to add as an InkWell object? How should I proceed? Thanks.

      actions: [
        InkWell(
          child: Icon(
            Icons.emoji,
            color: Colors.black,
            size: 24,
          ),
          onTap: () => openEmojis(),
        ),
      ]
@prahack
Copy link
Owner

prahack commented Jul 19, 2022

@cool2apps Yes. You can use InkWell as an action, the above implementation is correct. As the next step, you need to implement a widget to show emojis inside the openEmojis() method. You can use this video to get an idea - https://youtu.be/EzIdiqfWgog

@prahack prahack added invalid This doesn't seem right question Further information is requested labels Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants