LayoutCallback<T extends Constraints> typedef Null safety

void LayoutCallback<T>(
  1. T constraints
)

Signature for a function that is called during layout.

Used by RenderObject.invokeLayoutCallback.

Implementation

typedef LayoutCallback<T extends Constraints> = void Function(T constraints);