getButtons method
Gives the string for the button names
Implementation
@override
String getButtons({bool listStyles = false}) {
if (buttons.isEmpty) {
return "['ul', 'ol', ${listStyles ? "'listStyles', " : ""}'paragraph', 'height']";
} else {
String list = "[";
for (ParagraphButtons e in buttons) {
list = list +
"'${describeEnum(e)}'" +
getListStyle(e) +
(buttons.last != e ? ", " : "");
}
return list + "]";
}
}