copyWith method

MatrixNode copyWith({
  1. double? arrayStretch,
  2. bool? hskipBeforeAndAfter,
  3. bool? isSmall,
  4. List<MatrixColumnAlign>? columnAligns,
  5. List<MatrixSeparatorStyle>? columnLines,
  6. List<Measurement>? rowSpacing,
  7. List<MatrixSeparatorStyle>? rowLines,
  8. List<List<EquationRowNode?>>? body,
})

Implementation

MatrixNode copyWith({
  double? arrayStretch,
  bool? hskipBeforeAndAfter,
  bool? isSmall,
  List<MatrixColumnAlign>? columnAligns,
  List<MatrixSeparatorStyle>? columnLines,
  List<Measurement>? rowSpacing,
  List<MatrixSeparatorStyle>? rowLines,
  List<List<EquationRowNode?>>? body,
}) =>
    MatrixNode(
      arrayStretch: arrayStretch ?? this.arrayStretch,
      hskipBeforeAndAfter: hskipBeforeAndAfter ?? this.hskipBeforeAndAfter,
      isSmall: isSmall ?? this.isSmall,
      columnAligns: columnAligns ?? this.columnAligns,
      vLines: columnLines ?? this.vLines,
      rowSpacings: rowSpacing ?? this.rowSpacings,
      hLines: rowLines ?? this.hLines,
      body: body ?? this.body,
    );