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