updateCallback method

void updateCallback(
  1. LayoutCallback<ConstraintType>? value
)

Change the layout callback.

Implementation

void updateCallback(LayoutCallback<ConstraintType>? value) {
  if (value == _callback) {
    return;
  }
  _callback = value;
  markNeedsLayout();
}