getTextBaseline method
Implementation
TextBaseline? getTextBaseline(String? value) {
if (value == null) {
return null;
}
switch (value) {
case "alphabetic":
return TextBaseline.alphabetic;
case "ideographic":
return TextBaseline.ideographic;
default:
return null;
}
}