rebuildKey property

Key? rebuildKey
final

A key that is used to decide whether to rebuild the InlineSpans relevant to this definition.

CustomText rebuilds InlineSpans when configurations in definitions are updated, but changes in callbacks do not trigger rebuilds because CustomText cannot evaluate the differences of callbacks. In such cases, it is possible to cause a rebuild by changing this key.

Implementation

final Key? rebuildKey;