copyWith method
Implementation
BoxConstraints copyWith(
{double? minWidth,
double? maxWidth,
double? minHeight,
double? maxHeight}) {
return BoxConstraints(
minWidth: minWidth ?? this.minWidth,
maxWidth: maxWidth ?? this.maxWidth,
minHeight: minHeight ?? this.minHeight,
maxHeight: maxHeight ?? this.maxHeight);
}