flipped property

BoxConstraints flipped

A box constraints with the width and height constraints flipped.

Implementation

BoxConstraints get flipped {
  return BoxConstraints(
    minWidth: minHeight,
    maxWidth: maxHeight,
    minHeight: minWidth,
    maxHeight: maxWidth,
  );
}