BoxConstraints.tightFor constructor
Creates box constraints that require the given width or height.
Implementation
const BoxConstraints.tightFor({int? width, int? height})
: minWidth = width ?? 0,
maxWidth = width ?? 999999,
minHeight = height ?? 0,
maxHeight = height ?? 999999;