TableNode constructor

TableNode({
  1. String? type,
  2. num? numRows,
  3. num? numColumns,
  4. TableNode clone()?,
  5. TableCellNode cellAt(
    1. num,
    2. num
    )?,
  6. void insertRow(
    1. num
    )?,
  7. void insertColumn(
    1. num
    )?,
  8. void removeRow(
    1. num
    )?,
  9. void removeColumn(
    1. num
    )?,
  10. void moveRow(
    1. num,
    2. num
    )?,
  11. void moveColumn(
    1. num,
    2. num
    )?,
  12. void resizeRow(
    1. num,
    2. num
    )?,
  13. void resizeColumn(
    1. num,
    2. num
    )?,
  14. Object? fills,
  15. Object? fillStyleId,
  16. Future<void> setFillStyleIdAsync(
    1. String
    )?,
  17. num? opacity,
  18. BlendMode? blendMode,
})

Implementation

factory TableNode({
  _i2.String? type,
  _i2.num? numRows,
  _i2.num? numColumns,
  _i3.TableNode Function()? clone,
  _i3.TableCellNode Function(
    _i2.num,
    _i2.num,
  )? cellAt,
  void Function(_i2.num)? insertRow,
  void Function(_i2.num)? insertColumn,
  void Function(_i2.num)? removeRow,
  void Function(_i2.num)? removeColumn,
  void Function(
    _i2.num,
    _i2.num,
  )? moveRow,
  void Function(
    _i2.num,
    _i2.num,
  )? moveColumn,
  void Function(
    _i2.num,
    _i2.num,
  )? resizeRow,
  void Function(
    _i2.num,
    _i2.num,
  )? resizeColumn,
  _i2.Object? fills,
  _i2.Object? fillStyleId,
  _i2.Future<void> Function(_i2.String)? setFillStyleIdAsync,
  _i2.num? opacity,
  _i3.BlendMode? blendMode,
}) =>
    TableNode._(
      type: type,
      numRows: numRows,
      numColumns: numColumns,
      clone: clone == null ? null : _i5.allowInterop(clone),
      cellAt: cellAt == null ? null : _i5.allowInterop(cellAt),
      insertRow: insertRow == null ? null : _i5.allowInterop(insertRow),
      insertColumn:
          insertColumn == null ? null : _i5.allowInterop(insertColumn),
      removeRow: removeRow == null ? null : _i5.allowInterop(removeRow),
      removeColumn:
          removeColumn == null ? null : _i5.allowInterop(removeColumn),
      moveRow: moveRow == null ? null : _i5.allowInterop(moveRow),
      moveColumn: moveColumn == null ? null : _i5.allowInterop(moveColumn),
      resizeRow: resizeRow == null ? null : _i5.allowInterop(resizeRow),
      resizeColumn:
          resizeColumn == null ? null : _i5.allowInterop(resizeColumn),
      fills: fills ?? _i7.undefined,
      fillStyleId: fillStyleId ?? _i7.undefined,
      setFillStyleIdAsync: setFillStyleIdAsync == null
          ? null
          : _i5.allowInterop(setFillStyleIdAsync),
      opacity: opacity,
      blendMode: blendMode?.name ?? _i7.undefined,
    );