ComputePropertyValueCallback<T> typedef

ComputePropertyValueCallback<T> = T? Function()

Signature for computing the value of a property.

May throw exception if accessing the property would throw an exception and callers must handle that case gracefully. For example, accessing a property may trigger an assert that layout constraints were violated.

Implementation

typedef ComputePropertyValueCallback<T> = T? Function();