BoxConstraints.tight constructor

const BoxConstraints.tight(
  1. double width,
  2. double height
)

Implementation

const BoxConstraints.tight(double width, double height)
  : minWidth = width,
    maxWidth = width,
    minHeight = height,
    maxHeight = height;