widgets/note_display_metadata library

DESCRIPTION

Copyright (C) 2025, Software Innovation Institute, ANU

Licensed under the GNU General Public License, Version 3 (the "License");

License: https://www.gnu.org/licenses/gpl-3.0.en.html

Authors: Jess Moore

Classes

NoteDisplayMetadata
Display the metadata of the note. One of fullNoteData, noteContent or noteInfo must be supplied. One of showDates, showSharing or showPathInfo must be supplied. showDates requires fullNoteData or noteContent. showSharing requires fullNoteData or noteInfo. showPathInfo requires fullNoteData or noteInfo. Variables thisNoteContent and thisNoteInfo are assigned the noteContent and noteInfo data from one or more of fullNoteData, noteContent and noteInfo, depending on which was provided.

Functions

accessInfo(Map thisNoteInfo) Widget
dateInfo(Map thisNoteContent) Widget
pathInfo(Map thisNoteInfo) Widget