shouldRebuildWidget abstract method

bool shouldRebuildWidget(
  1. MathOptions oldOptions,
  2. MathOptions newOptions
)

Whether the specific MathOptions parameters that this node directly depends upon have changed.

Subclasses should override this method. This method is used to determine whether certain widget rebuilds can be bypassed even when the MathOptions have changed.

Rebuild bypass is determined by the following process:

Implementation

bool shouldRebuildWidget(MathOptions oldOptions, MathOptions newOptions);