BoxConstraintsTransform typedef Null safety

BoxConstraintsTransform = BoxConstraints Function(BoxConstraints)

Signature for a function that transforms a BoxConstraints to another BoxConstraints.

Used by RenderConstraintsTransformBox and ConstraintsTransformBox. Typically the caller requires the returned BoxConstraints to be BoxConstraints.isNormalized.

Implementation

typedef BoxConstraintsTransform = BoxConstraints Function(BoxConstraints);