feat: Add sticker picker

This commit is contained in:
Sorunome 2021-07-23 14:24:52 +02:00 committed by Christian Pauly
commit 1e98fdd7b0
4 changed files with 180 additions and 1 deletions

View file

@ -626,6 +626,20 @@ class ChatView extends StatelessWidget {
contentPadding: EdgeInsets.all(0),
),
),
PopupMenuItem<String>(
value: 'sticker',
child: ListTile(
leading: CircleAvatar(
backgroundColor: Colors.orange,
foregroundColor: Colors.white,
child: Icon(Icons
.emoji_emotions_outlined),
),
title: Text(
L10n.of(context).sendSticker),
contentPadding: EdgeInsets.all(0),
),
),
if (PlatformInfos.isMobile)
PopupMenuItem<String>(
value: 'voice',