change in the parameters
This commit is contained in:
parent
07091eb708
commit
214a60ce1b
@ -101,6 +101,7 @@ class _SonicEmailViewState extends State<SonicEmailView> {
|
|||||||
onJumpToNumbering: _scrollToNumber,
|
onJumpToNumbering: _scrollToNumber,
|
||||||
onViewspecs: _handleViewspecs,
|
onViewspecs: _handleViewspecs,
|
||||||
onFiltering: _handleFiltering,
|
onFiltering: _handleFiltering,
|
||||||
|
emails: [widget.email.name], subject: '', rootAugment: null,
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
// title of email
|
// title of email
|
||||||
|
@ -90,6 +90,11 @@ class _CollapsableEmailsState extends State<CollapsableEmails> {
|
|||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
List<String> getThreads() {
|
||||||
|
return widget.thread;
|
||||||
|
}
|
||||||
|
|
||||||
void _add2Tree(AugmentTree tree, md.Element node2add) {
|
void _add2Tree(AugmentTree tree, md.Element node2add) {
|
||||||
// adds node to its corresponding place
|
// adds node to its corresponding place
|
||||||
AugmentTree newNode = AugmentTree();
|
AugmentTree newNode = AugmentTree();
|
||||||
|
@ -9,13 +9,22 @@ class CollapsableEmails extends StatefulWidget {
|
|||||||
CollapsableEmails(
|
CollapsableEmails(
|
||||||
{required this.thread,
|
{required this.thread,
|
||||||
required this.threadMarkdown,
|
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
|
@override
|
||||||
State<CollapsableEmails> createState() => _CollapsableEmailsState();
|
State<CollapsableEmails> createState() => _CollapsableEmailsState();
|
||||||
}
|
}
|
||||||
|
|
||||||
class _CollapsableEmailsState extends State<CollapsableEmails> {
|
class _CollapsableEmailsState extends State<CollapsableEmails> {
|
||||||
|
|
||||||
|
List<String> getThreads() {
|
||||||
|
return widget.thread;
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(body: Text("collapsable stud"));
|
return Scaffold(body: Text("collapsable stud"));
|
||||||
|
@ -66,6 +66,7 @@ class _EmailViewState extends State<EmailView> {
|
|||||||
onJumpToNumbering: _scrollToNumber,
|
onJumpToNumbering: _scrollToNumber,
|
||||||
onViewspecs: _viewSpecs,
|
onViewspecs: _viewSpecs,
|
||||||
onFiltering: _filteringQuery,
|
onFiltering: _filteringQuery,
|
||||||
|
emails: widget.messages, subject: '', rootAugment: null,
|
||||||
),
|
),
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
|
Loading…
Reference in New Issue
Block a user