Used timeago package to show relative time.
Added a method in firebase_storage_service.dart to get the announcements from firebase.
Modified the Announcement model to create Announcement object from DocumentSnapshot.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Additional context (OPTIONAL)
Test plan (OPTIONAL)
In main.dart, set home to HomePage()
Checklist
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Issue Number
ISSUE #71 GOSA26
Describe the changes you've made
Used
timeago
package to show relative time. Added a method infirebase_storage_service.dart
to get the announcements from firebase. Modified theAnnouncement
model to createAnnouncement
object fromDocumentSnapshot
.Describe if there is any unusual behaviour of your code(Write
NA
if there isn't)NA
Additional context (OPTIONAL)
Test plan (OPTIONAL)
In
main.dart
, sethome
toHomePage()
Checklist