BoxConstraints.expand constructor
Creates box constraints that expand to fill another box constraints.
Implementation
const BoxConstraints.expand({double? width, double? height})
: minWidth = width ?? double.infinity,
maxWidth = width ?? double.infinity,
minHeight = height ?? double.infinity,
maxHeight = height ?? double.infinity;