fix reaction picker spacing and size

This commit is contained in:
Salvatore Giordano
2021-01-12 14:35:29 +01:00
parent 40910f93f1
commit 294c9edafb
+7 -1
View File
@@ -78,7 +78,12 @@ class _ReactionPickerState extends State<ReactionPicker>
-1; -1;
var index = reactionIcons.indexOf(reactionIcon); var index = reactionIcons.indexOf(reactionIcon);
return RawMaterialButton( return ConstrainedBox(
constraints: BoxConstraints.tightFor(
height: 24,
width: 24,
),
child: RawMaterialButton(
elevation: 0, elevation: 0,
padding: const EdgeInsets.all(0), padding: const EdgeInsets.all(0),
clipBehavior: Clip.none, clipBehavior: Clip.none,
@@ -129,6 +134,7 @@ class _ReactionPickerState extends State<ReactionPicker>
); );
} }
}, },
),
); );
}) })
.insertBetween(SizedBox( .insertBetween(SizedBox(