add file upload

This commit is contained in:
Salvatore Giordano
2020-02-28 17:02:10 +01:00
parent 1fea1fd19b
commit b6f0b6f2c1
4 changed files with 144 additions and 29 deletions
+2 -2
View File
@@ -211,7 +211,7 @@ class _MessageWidgetState extends State<MessageWidget>
borderRadius: boxDecoration.borderRadius,
child: Container(
decoration: boxDecoration,
constraints: BoxConstraints.loose(Size(300, 500)),
constraints: BoxConstraints.loose(Size.fromWidth(300)),
child: Stack(
children: <Widget>[
Column(
@@ -256,7 +256,7 @@ class _MessageWidgetState extends State<MessageWidget>
),
color: Color(0xffebebeb),
)
: Container(),
: SizedBox(),
],
),
attachment.type == 'image' && attachment.titleLink != null