BoxConstraintsTransform typedef Null safety

BoxConstraints BoxConstraintsTransform(
  1. 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);