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