change in the parameters

This commit is contained in:
Juan Marulanda De Los Rios 2025-07-23 10:28:50 -04:00
parent 07091eb708
commit 214a60ce1b
4 changed files with 17 additions and 1 deletions

View File

@ -101,6 +101,7 @@ class _SonicEmailViewState extends State<SonicEmailView> {
onJumpToNumbering: _scrollToNumber,
onViewspecs: _handleViewspecs,
onFiltering: _handleFiltering,
emails: [widget.email.name], subject: '', rootAugment: null,
),
Row(
// title of email

View File

@ -90,6 +90,11 @@ class _CollapsableEmailsState extends State<CollapsableEmails> {
super.dispose();
}
List<String> getThreads() {
return widget.thread;
}
void _add2Tree(AugmentTree tree, md.Element node2add) {
// adds node to its corresponding place
AugmentTree newNode = AugmentTree();

View File

@ -9,13 +9,22 @@ class CollapsableEmails extends StatefulWidget {
CollapsableEmails(
{required this.thread,
required this.threadMarkdown,
required this.threadIDs, String? targetJumpNumbering, String? targetViewspecs, String? targetFiltering});
required this.threadIDs, String? targetJumpNumbering, String? targetViewspecs, String? targetFiltering, required String nameOfDocument});
get getThreads => null;
get getAugmentRoot => null;
@override
State<CollapsableEmails> createState() => _CollapsableEmailsState();
}
class _CollapsableEmailsState extends State<CollapsableEmails> {
List<String> getThreads() {
return widget.thread;
}
@override
Widget build(BuildContext context) {
return Scaffold(body: Text("collapsable stud"));

View File

@ -66,6 +66,7 @@ class _EmailViewState extends State<EmailView> {
onJumpToNumbering: _scrollToNumber,
onViewspecs: _viewSpecs,
onFiltering: _filteringQuery,
emails: widget.messages, subject: '', rootAugment: null,
),
Row(
children: [