Implemented StreamAttachmentPackage and fixed operations in widgets linked to full screen implementation, also fixed tests

This commit is contained in:
Ayush Shekhar
2022-04-13 18:02:49 +05:30
parent 65a5af7b6c
commit 180c24ae72
18 changed files with 373 additions and 253 deletions
@@ -75,7 +75,7 @@ void main() {
_context = context;
return Scaffold(
appBar: StreamGalleryFooter(
message: Message(),
mediaAttachmentPackages: Message().getAttachmentPackageList(),
),
);
},
@@ -118,7 +118,7 @@ void main() {
_context = context;
return Scaffold(
appBar: StreamGalleryFooter(
message: Message(),
mediaAttachmentPackages: Message().getAttachmentPackageList(),
),
);
},
@@ -66,9 +66,11 @@ void main() {
home: Builder(
builder: (context) {
_context = context;
final _message = Message();
return Scaffold(
appBar: StreamGalleryHeader(
message: Message(),
message: _message,
attachment: _message.attachments[0],
),
);
},
@@ -105,9 +107,11 @@ void main() {
home: Builder(
builder: (context) {
_context = context;
final _message = Message();
return Scaffold(
appBar: StreamGalleryHeader(
message: Message(),
message: _message,
attachment: _message.attachments[0],
),
);
},