[Image Attachment] Add a property to hide/show image title

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2020-12-30 15:06:40 +05:30
parent 4e7fb6123c
commit 7047f3d9a4
2 changed files with 6 additions and 2 deletions
@@ -193,6 +193,7 @@ class _ChannelMediaDisplayScreenState extends State<ChannelMediaDisplayScreen> {
? ImageAttachment(
attachment: media[position].attachment,
message: media[position].message,
showTitle: false,
size: Size(
MediaQuery.of(context).size.width * 0.8,
MediaQuery.of(context).size.height * 0.3,