exportTextDecoration function
Implementation
String exportTextDecoration(TextDecoration? decoration) {
var rt = "none";
if (decoration == TextDecoration.lineThrough) {
rt = "lineThrough";
}
if (decoration == TextDecoration.overline) {
rt = "overline";
}
if (decoration == TextDecoration.underline) {
rt = "underline";
}
return rt;
}