applyStyle method

  1. @override
void applyStyle(
  1. NotusStyle value
)
override

Applies new style value to this node. Provided value is merged into current style.

Implementation

@override
void applyStyle(NotusStyle value) {
  assert(value.isInline || value.isEmpty,
      'Style cannot be applied to this leaf node: $value');
  super.applyStyle(value);
}