getTextAlign method

TextAlign? getTextAlign()

Implementation

TextAlign? getTextAlign() {
  return TextAlign.values.firstWhereOrNull(
      (element) => font.toLowerCase().contains(element.name.toLowerCase()));
}