isValidTextTextDecorationStyleValue static method

bool isValidTextTextDecorationStyleValue(
  1. String value
)

Implementation

static bool isValidTextTextDecorationStyleValue(String value) {
  return value == 'solid' || value == 'double' || value == 'dotted' || value == 'dashed' || value == 'wavy';
}