computeChildOptions method

  1. @override
List<MathOptions> computeChildOptions(
  1. MathOptions options
)
override

Calculate the options passed to children when given options from parent

Subclasses should override this method. This method provides a general description of the context & style modification introduced by this node.

Please ensure children works in the same order as updateChildren, computeChildOptions, and buildWidget.

Implementation

@override
List<MathOptions> computeChildOptions(MathOptions options) => [
      options,
      options.havingStyle(options.style.sup()),
    ];