flipped property

BoxConstraints flipped

A box constraints with the width and height constraints flipped.

Implementation

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