Added in-app fileviewer for images and pdf files
This commit is contained in:
1 parent
6fda2f1078
commit
3d6e0cec0e
3 files changed
+77
-9
No files matched your search
@@ -235,7 +235,7 @@ class _ChatBubbleState extends State<ChatBubble> {
|
||||
}
|
||||
|
||||
downloadProgress = 1;
|
||||
downloadCore = FileElement.download(message.file!.path!, message.file!.name, (progress) {
|
||||
downloadCore = FileElement.download(context, message.file!.path!, message.file!.name, (progress) {
|
||||
if(progress > 1) {
|
||||
setState(() {
|
||||
downloadProgress = progress;
|
||||
|
||||
Reference in new issue
Block a user