copy method

  1. @override
LayoutIN copy(
  1. LayoutIN iN
)
override

Implementation

@override
LayoutIN copy(iN) {
  width = iN.width ?? width;
  height = iN.height ?? height;
  widthFactor = iN.widthFactor ?? widthFactor;
  heightFactor = iN.heightFactor ?? heightFactor;
  alignment = iN.alignment ?? alignment;
  margin = iN.margin ?? margin;
  padding = iN.padding ?? padding;

  constraints = iN.constraints ?? constraints;
  return super.copy(iN);
}