SimpleCell.createMultiLineCell constructor
SimpleCell.createMultiLineCell(
- List content
Implementation
SimpleCell.createMultiLineCell(List<dynamic> content) : super('SimpleCell') {
final hvPanel = Panel()
..vertical = true
..nodeRoot.style.flexShrink = '1';
for (final line in content) {
final label = SimpleLabel()..caption = '${line.toString()} ';
hvPanel.add(label);
}
nodeRoot = hvPanel.nodeRoot;
}