Closed briceAlex closed 3 years ago
I started with that : ` Content c = Content();
c
..add(TextContent("docname", "Simple test"))
..add(ListContent("Taches", [
TextContent("value", "Taches").add(ListContent(
"listnested", [
for (var i = 0; i < 10; i++)
TextContent("value", " i : ${i}")
]))
]));
`
hi, like this:
Content c = Content();
final list = <Content>[];
for (var i = 0; i < 10; i++)
list.add(TextContent("value", " i : ${i}"));
c
..add(TextContent("docname", "Simple test"))
..add(ListContent("Taches", list));
Hi, all works well thanks to you !
Hi,
I try to create a document like this dynamically :
Title : // dynamically
Thank you for you work on this package !