Change material type to transparent

This commit is contained in:
Neevash Ramdial
2020-11-15 21:32:53 -04:00
parent 83787846c9
commit 13604cee38
+1 -1
View File
@@ -605,10 +605,10 @@ class MessageInputState extends State<MessageInput> {
Material _buildAttachmentButton() { Material _buildAttachmentButton() {
return Material( return Material(
clipBehavior: Clip.hardEdge, clipBehavior: Clip.hardEdge,
type: MaterialType.transparency,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(32), borderRadius: BorderRadius.circular(32),
), ),
color: Colors.transparent,
child: IconButton( child: IconButton(
onPressed: () { onPressed: () {
showAttachmentModal(); showAttachmentModal();