fix(ui): Fix shape of the multi-button

This commit is contained in:
2023-09-12 13:17:10 +02:00
parent e0d6776f11
commit bdba9cebdd

View File

@@ -250,6 +250,17 @@ class ConversationInputState extends State<ConversationInput> {
icon: _getSendButtonIcon(snapshot.data!), icon: _getSendButtonIcon(snapshot.data!),
backgroundColor: primaryColor, backgroundColor: primaryColor,
foregroundColor: Colors.white, foregroundColor: Colors.white,
// Adjust to Material3's specifications
// (Thanks https://github.com/darioielardi/flutter_speed_dial/issues/279#issuecomment-1373002572)
shape: const RoundedRectangleBorder(
borderRadius:
BorderRadius.all(Radius.circular(16)),
),
spacing: 16,
childMargin: EdgeInsets.zero,
childPadding: const EdgeInsets.all(8),
children: [ children: [
SpeedDialChild( SpeedDialChild(
child: const Icon(Icons.image), child: const Icon(Icons.image),