ui: Add a stubbed audio record button

This commit is contained in:
2022-08-25 15:16:34 +02:00
parent bc52ec6fb9
commit ac12d48ac0
2 changed files with 24 additions and 2 deletions

View File

@@ -101,6 +101,25 @@ class ConversationBottomRow extends StatelessWidget {
minWidth: 24,
minHeight: 24,
),
suffixIcon: state.messageText.isEmpty ?
InkWell(
child: const Padding(
padding: EdgeInsets.symmetric(horizontal: 8),
child: Icon(
Icons.mic_rounded,
color: primaryColor,
size: 24,
),
),
onTap: () {
showNotImplementedDialog('audio recording', context);
},
) :
null,
suffixIconConstraints: const BoxConstraints(
minWidth: 24,
minHeight: 24,
),
),
),
Padding(