updateCallback method Null safety
- LayoutCallback<
ConstraintType> ? value
Change the layout callback.
Implementation
void updateCallback(LayoutCallback<ConstraintType>? value) {
if (value == _callback) {
return;
}
_callback = value;
markNeedsLayout();
}