content method
Sets the box content from a string.
Multi-line strings are automatically split.
Implementation
BoxBuilder content(String text) {
_content.clear();
_content.addAll(text.split('\n'));
return this;
}
Sets the box content from a string.
Multi-line strings are automatically split.
BoxBuilder content(String text) {
_content.clear();
_content.addAll(text.split('\n'));
return this;
}