|
|
|
@ -116,6 +116,7 @@ class ChatInputRow extends StatelessWidget {
|
|
|
|
|
height: height,
|
|
|
|
|
alignment: Alignment.center,
|
|
|
|
|
decoration: const BoxDecoration(),
|
|
|
|
|
clipBehavior: Clip.hardEdge,
|
|
|
|
|
child: PopupMenuButton<String>(
|
|
|
|
|
icon: const Icon(Icons.add_circle_outline),
|
|
|
|
|
iconColor: theme.colorScheme.onPrimaryContainer,
|
|
|
|
@ -171,7 +172,7 @@ class ChatInputRow extends StatelessWidget {
|
|
|
|
|
height: height,
|
|
|
|
|
alignment: Alignment.center,
|
|
|
|
|
decoration: const BoxDecoration(),
|
|
|
|
|
child: Center(
|
|
|
|
|
clipBehavior: Clip.hardEdge,
|
|
|
|
|
child: PopupMenuButton(
|
|
|
|
|
icon: const Icon(Icons.camera_alt_outlined),
|
|
|
|
|
onSelected: controller.onAddPopupMenuButtonSelected,
|
|
|
|
@ -183,8 +184,7 @@ class ChatInputRow extends StatelessWidget {
|
|
|
|
|
leading: CircleAvatar(
|
|
|
|
|
backgroundColor:
|
|
|
|
|
theme.colorScheme.onPrimaryContainer,
|
|
|
|
|
foregroundColor:
|
|
|
|
|
theme.colorScheme.primaryContainer,
|
|
|
|
|
foregroundColor: theme.colorScheme.primaryContainer,
|
|
|
|
|
child: const Icon(Icons.videocam_outlined),
|
|
|
|
|
),
|
|
|
|
|
title: Text(L10n.of(context).recordAVideo),
|
|
|
|
@ -197,8 +197,7 @@ class ChatInputRow extends StatelessWidget {
|
|
|
|
|
leading: CircleAvatar(
|
|
|
|
|
backgroundColor:
|
|
|
|
|
theme.colorScheme.onPrimaryContainer,
|
|
|
|
|
foregroundColor:
|
|
|
|
|
theme.colorScheme.primaryContainer,
|
|
|
|
|
foregroundColor: theme.colorScheme.primaryContainer,
|
|
|
|
|
child: const Icon(Icons.camera_alt_outlined),
|
|
|
|
|
),
|
|
|
|
|
title: Text(L10n.of(context).takeAPhoto),
|
|
|
|
@ -208,7 +207,6 @@ class ChatInputRow extends StatelessWidget {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
height: height,
|
|
|
|
|
width: height,
|
|
|
|
|