setOnUnfold method

void setOnUnfold(
  1. void f()?
)

Registers a callback for unfolding.

Implementation

void setOnUnfold(void Function()? f) {
  final wasNull = _areLemmaCallbacksNull;
  _onUnfold = f;
  _updateCallbacks(wasNull);
}