getTextAlign function
Implementation
TextAlign? getTextAlign(String value) {
return switch (value) {
'center' => TextAlign.center,
'right' => TextAlign.right,
'left' => TextAlign.left,
'justify' => null,
Object() => null,
};
}