effectiveConstraints property

BoxConstraints get effectiveConstraints

Calculates the effective constraints based on the provided properties.

Implementation

BoxConstraints get effectiveConstraints {
  return (constraints ?? const BoxConstraints()).copyWith(
    minWidth: minWidth,
    maxWidth: maxWidth,
    minHeight: minHeight,
    maxHeight: maxHeight,
  );
}