feat: Added download and sharing of images

This commit is contained in:
Deven Joshi
2020-11-20 16:36:29 +05:30
parent fbb1d52db9
commit 68e9f98b7f
6 changed files with 73 additions and 19 deletions
+7
View File
@@ -30,10 +30,15 @@ class ImageHeader extends StatelessWidget implements PreferredSizeWidget {
final String userName;
final String sentAt;
final List<String> urls;
final currentIndex;
/// Creates a channel header
ImageHeader({
Key key,
this.message,
this.urls,
this.currentIndex,
this.showBackButton = true,
this.onBackPressed,
this.onTitleTap,
@@ -117,6 +122,8 @@ class ImageHeader extends StatelessWidget implements PreferredSizeWidget {
userName: userName,
sentAt: sentAt,
message: message,
urls: urls,
currentIndex: currentIndex,
),
);
});