isUsingTextStyles function

bool isUsingTextStyles(
  1. CNode node
)

Implementation

bool isUsingTextStyles(CNode node) {
  final values = node.getAttributes.values;
  for (final e in values.whereType<FTextStyle>()) {
    if (e.textStyleModel != null) {
      return true;
    }
  }
  return false;
}