change in the parameters
This commit is contained in:
parent
07091eb708
commit
214a60ce1b
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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"));
|
||||
|
@ -66,6 +66,7 @@ class _EmailViewState extends State<EmailView> {
|
||||
onJumpToNumbering: _scrollToNumber,
|
||||
onViewspecs: _viewSpecs,
|
||||
onFiltering: _filteringQuery,
|
||||
emails: widget.messages, subject: '', rootAugment: null,
|
||||
),
|
||||
Row(
|
||||
children: [
|
||||
|
Loading…
Reference in New Issue
Block a user