hasTextProperties property

bool get hasTextProperties

Check if this style has any text properties that could be inherited

Implementation

bool get hasTextProperties {
  return color != null ||
      text != null ||
      font != null ||
      fontWeight != null ||
      leading != null ||
      tracking != null ||
      textAlign != null ||
      textTransform != null ||
      textDecoration != null;
}